rsh 无秘钥登陆配置

来源:互联网 发布:天刀捏脸数据迪丽热巴 编辑:程序博客网 时间:2024/04/28 06:36

/etc/hosts.equiv里的主机不需要提供密码就可以访问本机./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文件用来在平面网络结构里进行名字解析用.

 

 

0 0