use autossh for "persistence"

This commit is contained in:
Daniel Lundin 2021-04-04 09:50:44 +02:00
parent 04cc114168
commit 922a25688c
3 changed files with 10 additions and 8 deletions
.ssh

View file

@ -3,9 +3,11 @@ ServerAliveInterval 3
ServerAliveCountMax 2
ControlMaster auto
ControlPath ~/.ssh/control:%h:%p:%r
ControlPersist 1200
Ciphers aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
AddressFamily inet
RequestTty yes
PreferredAuthentications=publickey
Host dln-dev
Hostname 10.1.100.16