rsh 无秘钥登陆配置

/etc/hosts.equiv里的主机不须要提供password就能够訪问本机./etc/host.equiv 要和~/.rhosts文件连用.

[root@web-htl2-01 ~]# cat /etc/hosts.equiv 
hostname  username1
hostname  username2
hostname  username3

[root@web-htl2-01 ~]# cat ~/.rhosts
10.10.4.120 root
10.10.4.112 root
10.10.4.132 root


/etc/hosts文件用来在平面网络结构里进行名字解析用.

原文地址:https://www.cnblogs.com/yjbjingcha/p/7286384.html