The remsh command starts a shell on a remote host, performs some client activity (often starting a terminal emulator on that host), and redirects the display back to your original system if desired.
It has the syntax:
remsh remote -n client -display system:display[.screen]
where:
remote—the remote host name
client—the program you want to run on the remote host
system:display[.screen]—the host and display on which the results are to be displayed
The remsh command is often used when customizing a menu to access other hosts.
For example, the following command runs xload on the remote host named there, and directs output back to your system, here.
remsh there -n /usr/bin/X11/xload -display here:0.0 &