Board logo

標題: 邊個識 remote shell script ? [打印本頁]

作者: silaimo    時間: 2009-4-22 13:52     標題: 邊個識 remote shell script ?

情況係 host A and host B, 兩個都係 linux.

想晌 host A 度行放晌 host B 度既 script, 個 rsh 應該點寫 ?
謝謝
作者: 閒魂    時間: 2009-4-22 17:35

# rsh
usage: rsh [-nd] [-l login] host [command]

Examples

rsh +a comphope.com ls
Logs onto comphope.com after authentication (because using +a) and after authentication processes in this case the ls command and then disconnects.

The rsh cannot be used to run interactive commands. Instead use the rlogin command.




歡迎光臨 PC Infinity (http://pcinhk.com/discuz/) Powered by Discuz! 7.0.0