man(1) sshc man page man(1) NAME sshc - run a command remotely using ssh SYNOPSIS sshc user@host[:dir|=] command arg1... DESCRIPTION sshc allows you to run a command remotely using ssh. Like sudo and unlike the normal ssh command, it runs the command directly, not via the shell. It does not require you to escape shell metacharacters. sshc is used by arcs. EXAMPLES To run a command in your remote home directory. sshc nipl.net cat .bashrc To run a command in the same directory on the remote host: sshc nipl.net= pwd sam@hugo:~/code/arcs$ sshc nipl.net= pwd /home/sam/code/arcs To log in as sam, and chdir to a specfied directory. sshc sam@nipl.net:/etc cat passwd ENVIRONMENT ARCS_SSH, SSH the command to use for ssh, e.g. SSH=fsh makes it go fast, espe- cially with the -f option. $ARCS_SSH is used if it exists, else $SSH, else ssh. Get fsh from: http://sam.nipl.net/code/fsh/fsh.tgz AUTHORS Sam Watkins (swatkins@fastmail.fm) SEE ALSO arcs ssh fsh 0.1 18 April 2009 man(1)