Difference between revisions of "SSH clients"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 7: Line 7:
  
 
== Example commands ==
 
== Example commands ==
* <code>ssh -o StrictHostKeyChecking=accept-new [email protected]</code> (since [[OpenSSH 7.5]])
+
* <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>
  

Revision as of 12:39, 27 August 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: