Difference between revisions of "SSH clients"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
* <code>ssh -o [[StrictHostKeyChecking]]=accept-new [email protected]</code> (since [[OpenSSH 7.5]], March 2017)
 
* <code>ssh -o [[StrictHostKeyChecking]]=accept-new [email protected]</code> (since [[OpenSSH 7.5]], March 2017)
 
* <code>ssh -o StrictHostKeyChecking=no [email protected]</code><ref>https://serverfault.com/a/132973</ref>
 
* <code>ssh -o StrictHostKeyChecking=no [email protected]</code><ref>https://serverfault.com/a/132973</ref>
 +
* <code>ssh -Q kex SERVER</code>
  
 
== See also ==
 
== See also ==

Revision as of 10:36, 29 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: