linux ssh无密码登录
1、架构 192.168.0.5 登录机。 192.168.0.10 被登录机。 2、执行步骤 (1)在192.168.0.5上执行 # ssh-keygen -t rsa 一路回车 在~/.ssh/目录下生一对公钥和私钥id_rsa id_rsa.pub (2)把公钥 id_rsa.pub拷贝到远程登录机上 #ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.10 输入密码 10 Now try logging into the machine, with "ssh 'root@192.168.0.10", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. 成功! 爱慕尔商城欢迎您的光临!穿衣打扮城市物语 本文转自yuangang_love 51CTO博客,原文链接:http://blog.51cto.com/linux008/588080,...

