scp ~/.ssh/id_rsa.pub 192.168.100.4:/root/.ssh/authorized_keys 下面就可以用scp、ssh命令不需要密码来获取主机B的文件了 ssh 192.168.100.4 回车就不需要密码了。
確定! 回上一頁