PC Infinity's Archiver

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.

頁: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.