标签:localhost host 登录 ssh 验证 div 命令 content bsp
1:运行命令 ssh-keygen -t rsa 产生秘钥 ,位于~/.ssh目录下(假设在这期间有什么提示。一路敲击enter下去,什么都不用输入)
2:运行命令 cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys 假设提示yes/no 直接输入 yes
验证ssh localhost 搞定 不用输入password了
标签:localhost host 登录 ssh 验证 div 命令 content bsp
原文地址:http://www.cnblogs.com/zsychanpin/p/6821392.html