Linux設置ssh免密登陸

編輯文件: vi /etc/ssh/sshd_config # 新增一行 RSAAuthentication yes # 這兩行須要打開註釋 PubkeyAuthentication yes PasswordAuthentication yes 三臺服務器分別生成ssh密鑰(三次回車後出現密鑰圖形): ssh-keygen -t rsa 在 master 服務器(主服務器)上切換到 .ssh 下:
相關文章
相關標籤/搜索