在使用rsh連線至另一台主機時,如果老是遇到類似下列的訊息:
connect to address 192.168.1.1 port 544: Connection refused
Trying krb4 rsh...
connect to address 192.168.1.1 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
原因是rsh會先嘗試用kshell建立連接。如果想禁用這個功能,可作如下修改:
cd /usr/kerberos/bin
mv rsh rsh.sav
ln -s /usr/bin/rsh rsh
參考資料:
http://bbs.chinaunix.net/thread-2201076-1-1.html