Difference between revisions of "SSH clients"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
:Examples: loop waiting to connect to server: <code>AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 autossh -M 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP</code>
 
:Examples: loop waiting to connect to server: <code>AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 autossh -M 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP</code>
  
 +
* <code>[[sshpass]]</code>
  
 
== Example commands ==
 
== Example commands ==

Revision as of 12:36, 19 November 2020

Popular OpenSSH include a ssh client. Other clients are available such us putty, mosh, paramiko and autossh.


  • autossh[1] main feature not include in OpenSSH ssh client is the capability to monitor an ssh connection and restart it if necessary.
Examples: loop waiting to connect to server: AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 autossh -M 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP

Example commands

See also

  • https://linux.die.net/man/1/autossh
  • https://serverfault.com/a/132973
  • Advertising: