邊個識 remote shell script ?

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

想晌 host A 度行放晌 host B 度既 script, 個 rsh 應該點寫 ?
謝謝
# 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.