The remote shell command rsh allows you to execute a command on a remote machine without actually logging onto that machine. The command rsh uses the same .rhosts file as does rlogin, yet while rlogin will prompt you for a password if it has trouble with the .rhost file, both rsh and rcp require a properly functioning .rhosts file. If the .rhosts files is not properly configured, these commands will issue an error message and quit.
leo$ rsh user@server command
example :
leo$ rsh user@server df -h
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment