Repository navigation
sshc 0.7.0
- A start directory and an entry command per host:
sshc set -H HOST -d /var/wwwandsshc set -H HOST -e 'COMMAND'(--dir,--entry). An interactive login to that host then starts in the directory, runs the command, and hands over to your normal login shell. - They apply only to plain
sshc HOSTat a terminal. A command of your own,scp,sftp,rsync,each,run, port forwarding with-Nand piped input are untouched - unlike ssh'sRemoteCommand, which applies to every connection. sshc --no-entry HOST(orSSHC_NO_ENTRY=1) logs in without them once.sshc unset -H HOST -d/-eremoves one;sshc listandsshc checkshow them.
This is the one case in which sshc adds to what it passes to ssh, and only for a host you have set it up for. It expects a Unix-style shell on the host.