0

尝试使用 rsh 登录服务器,尽管我通常使用 ssh 登录。与 ssh 完美搭配,但我不想每次都输入密码。

我想我需要向 rsh 命令传递密码,因为我尝试了以下操作......

rsh -l user@servername 
rsh -l user@servername -n
rsh -l user@servername echo "something"

...但收到此错误消息

rcmd: getaddrinfo: Temporary failure in name resolution

我将如何登录 rsh 并绕过我的密码(即我目前无法摆脱的密码)或将我的密码传递给它?

4

1 回答 1

0

不知道你为什么要使用 rsh,因为它不太安全,但这个页面应该可以帮助你:

http://rajaseelan.com/2009/07/03/how-to-enable-passwordless-rsh-login-in-rhel5/

于 2014-07-18T18:50:30.537 回答