ssh settings
This commit is contained in:
parent
b2e25fca34
commit
f100dfb3b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue