Linux免密码远程登录和配置别名

1. ssh-keygen

2. ssh-copy-id -p port user@remote

.ssh中建立并编辑config文件

原来需要 ssh -p [email protected]

现在:

 

 传输文件

 

猜你喜欢

转载自www.cnblogs.com/douzujun/p/10202454.html