Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux: SSH
(view source)
Revision as of 14:28, 8 November 2017
22 bytes added
,
14:28, 8 November 2017
→Avoid broken pipe
Line 99:
Line 99:
== Avoid broken pipe ==
== Avoid broken pipe ==
2 options:<br />
2 options:<br />
−
=== ClientAliveInterval, SeverAliveInterval===
<br />
+
=== ClientAliveInterval, SeverAliveInterval ===
==== Client side ====
==== Client side ====
Use ClientAliveInterval if you have a jump machine<br />
Use ClientAliveInterval if you have a jump machine<br />
Line 105:
Line 105:
<nowiki>
<nowiki>
Host *
Host *
−
ServerAliveInterval 60</nowiki>
+
ServerAliveInterval 60
+
ServerAliveCountMax 2
</nowiki>
For each user, or ading to /etc/ssh/ssh_config
For each user, or ading to /etc/ssh/ssh_config
ServerAliveInterval 60
ServerAliveInterval 60
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version