Changes

Jump to navigation Jump to search
33 bytes added ,  13:19, 17 April 2016
Line 76: Line 76:  
== Avoid broken pipe ==
 
== Avoid broken pipe ==
 
2 options:<br />
 
2 options:<br />
1:<br />
+
1 ClientAliveInterval, SeverAliveInterval:<br />
create file: /home/user/.ssh/ssh_config with the following content: (client side)
+
Client side<br />
 +
Use ClientAliveInterval if you have a jump machine<br />
 +
create file: /home/user/.ssh/config with the following content: (client side)
 
  <nowiki>
 
  <nowiki>
HashKnownHosts yes
+
Host *
GSSAPIAuthentication yes
+
    ServerAliveInterval 60</nowiki>
GSSAPIDelegateCredentials no
+
(server side)
ServerAliveInterval 120</nowiki>
  −
(server side) This one worked!!
   
  echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config
 
  echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config
   Line 124: Line 124:  
done
 
done
 
</source>
 
</source>
 +
 
== known_hosts ==
 
== known_hosts ==
 
===Remove offending key===
 
===Remove offending key===

Navigation menu