Since the early days of Unix, it has been possible to run commands on remote computers over a network connection using remote shell programs such as rsh and ssh:
mypc: ssh mylogin@peregrine.hpc.uwm.edu ls Password: (enter password here) Data Desktop Work notes scripts
On a typical network, the above command would prompt the user
for a password to log into peregrine
as the
user boot camp, run the ls command on
peregrine
, and then exit
back to the local host from which ssh was run.
It is possible to configure remote computers to accept password-less logins from trusted hosts. With a password-less login, we can run a command on a remote system almost as easily as on the local system:
mypc: ssh mylogin@peregrine.hpc.uwm.edu Password: (enter password here) peregrine: ssh compute-001 ls Data Desktop Work notes scripts
In the example above, the node compute-001
does not
ask for a password, since the request is coming from
peregrine
, which is a trusted host.