AUTOSSH(1) General Commands Manual AUTOSSH(1) (NAME) autossh - SSH (SYNOPSIS) autossh [-V] [-M port[:echo_port]] [-f] [SSH_OPTIONS] (DESCRIPTION) autossh ssh . rstunnel ( SSH ) . . autossh : autossh ssh ssh ( ) . ( / Terrence Martin .) . ( / Ron Yorston): echo . . echo . SSH (CONTROLLING SSH) SSH (SSH exits) autossh ssh . : 1. ssh ( "exit" ) autossh 2. autossh SIGTERM SIGINT SIGKILL ssh 3. autossh SIGUSR1 ssh 4. ( ) autossh . autossh ssh ( ) 5. ssh autossh . (Startup behaviour) ssh autossh 1. 2. << >> (starting gate) . ssh autossh << >> . . ( AUTOSSH_GATETIME ). AUTOSSH_GATETIME : << >> autossh ssh . << >> -f autossh . (Continued failures) ssh autossh (poll time) autossh ( ) . autossh SIGHUP ( "kill -HUP" ) . (Connection setup) autossh . RSAAuthentication ssh-agent . (wrapper) agent . ssh autossh . ssh -N ( ). rstunnel "sleep 99999999999" ssh . (OPTIONS) -M port[:echo_port] . echo ( port + 1) . autossh . "-M 20000" autossh . echo . inetd echo . echo . echo inetd . localhost ( loopback) . echo ssh . autossh ssh . OpenSSH ServerAliveInterval ServerAliveCountMax SSH . . -f autossh ssh . -f ssh . -f autossh -f ssh : autossh ssh (passphrase) . -f << >> (AUTOSSH_GATETIME ) . -V autossh . (ENVIRONMENT) autossh . ssh . AUTOSSH_DEBUG LOG_DEBUG syslog (stderr) . AUTOSSH_FIRST_POLL . (AUTOSSH_POLL ). AUTOSSH_GATETIME ssh . . AUTOSSH_GATETIME autossh ssh . autossh () . AUTOSSH_LOGLEVEL syslog . AUTOSSH_LOGFILE autossh syslog . AUTOSSH_MAXLIFETIME . ssh . AUTOSSH_MAXSTART ssh . ssh . -1 . AUTOSSH_MESSAGE echo . AUTOSSH_NTSERVICE ( / Cygwin.) "yes" autossh NT cygrunsrv . -N ssh stdout ssh . AUTOSSH_PATH ssh . AUTOSSH_PIDFILE (PID) autossh . AUTOSSH_POLL ( ) . AUTOSSH_FIRST_POLL . ( ) . AUTOSSH_PORT . ssh -M . AUTOSSH_PORT -M . . (ENVIRONMENT) OpenSSH autossh : ExitOnForwardFailure=yes autossh . ClientAliveInterval . (AUTHOR) autossh Carson Harding . (SEE ALSO) ssh(1), ssh_config(5,) sshd_config(5,) ssh-add(1), ssh-agent(1), ssh-keygen(1), cygrunsrv(1). Linux 6.12.113+deb13-amd64 March 18, 2018 Linux 6.12.113+deb13-amd64