Ajouter 'folders/server/ssh.md'

This commit is contained in:
fred 2020-05-01 18:47:20 +02:00
parent 946b4736ba
commit 070ebcd841
1 changed files with 12 additions and 0 deletions

12
folders/server/ssh.md Normal file
View File

@ -0,0 +1,12 @@
# SSH
https://smallstep.com/blog/ssh-tricks-and-tips/?utm_source=hackernewsletter&utm_medium=email&utm_term=fav
1. Upgrade vers OpenSSH 8.2 pour utiliser une connexion U2F
2. Exit automatically on network interruptions. In your .ssh/config, add:
```bash
ServerAliveInterval 5
ServerAliveCountMax 1
```
ssh will check the connection by sending an echo to the remote host every ServerAliveInterval seconds. If more than ServerAliveCountMax echos are sent without a response, ssh will timeout and exit.