ssh settings

This commit is contained in:
Bob Mottram 2014-07-14 10:50:51 +01:00
parent b2e25fca34
commit f100dfb3b1
1 changed files with 8 additions and 1 deletions

View File

@ -837,12 +837,19 @@ StrictModes yes
TCPKeepAlive no
#+END_SRC
Comment out:
#+BEGIN_SRC: bash
#HostKey /etc/ssh/ssh_host_dsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#+END_SRC
Append the following:
#+BEGIN_SRC: bash
ClientAliveInterval 60
ClientAliveCountMax 3
Ciphers aes256-ctr,aes192-ctr,aes128-ctr
Ciphers aes256-ctr,aes128-ctr
MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160
KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
#+END_SRC