The "ssh" command can also be used to run commands on remote systems without logging in. The output of the command is displayed, and control returns to the local system. Here is an example that displays all the users logged in on the remote system chinookfe.
[WOMBATNET:/home/wombat]
$ ssh chinookfe.ucar.edu who
foobar ttyq0 Jul 23 15:20 (pogo.org.net)
snarf ttyq1 Jul 24 13:49 (oscar1.ucar.edu)
widget ttyq2 Jul 29 06:59 (imal.bigu.edu)
[WOMBATNET:/home/wombat]
$
If you are using the X Window System, you can use this capability to start an interactive session on a remote system.
[WOMBATNET:/home/wombat]
$ xterm -e ssh chinookfe.ucar.edu &
[1] 00099
[WOMBATNET:/home/wombat]
$
If you have questions about this document, please contact SCD Customer Support. You can also reach us by telephone 24 hours a day, seven days a week at 303-497-1278. Additional contact methods: consult1@ucar.edu and during business hours in NCAR Mesa Lab Suite 39.