Liunx面密登陆

在管理计算机集群时可能会用到面密登陆远程服务器。操作步骤如下:

查看/root/.ssh文件下是否有id_rsa.*文件,如果没有进行如下命令

#ssh-keygen(直接回车)
#ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected](远端主机ip地址)
#ssh 192.168.106.131(测试登陆)

猜你喜欢

转载自blog.csdn.net/qq_32261399/article/details/81218464