ssh connection from Mac OS Sierra 10.12 to AWS Linux Server broken
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to retain ssh connection from mac OS Sierra to Linux box. But after few mins of inactivity, it shows
$ packet_write_wait: Connection to 10.227.255.110 port 22: Broken pipe.
How to resolve the problem.
In etc/ssh/ssh_config
file, I have uncommented the line
# SendEnv # (no default)
# ServerAliveCountMax 3
ServerAliveInterval 10
# StrictHostKeyChecking ask
# TCPKeepAlive yes
# Tunnel no
ssh sshd
add a comment |Â
up vote
0
down vote
favorite
I am trying to retain ssh connection from mac OS Sierra to Linux box. But after few mins of inactivity, it shows
$ packet_write_wait: Connection to 10.227.255.110 port 22: Broken pipe.
How to resolve the problem.
In etc/ssh/ssh_config
file, I have uncommented the line
# SendEnv # (no default)
# ServerAliveCountMax 3
ServerAliveInterval 10
# StrictHostKeyChecking ask
# TCPKeepAlive yes
# Tunnel no
ssh sshd
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to setClientAliveInterval
in the/etc/ssh/sshd_config
on the server side to a value of60
which will send the packet every 60 seconds.
â Nasir Riley
Apr 29 at 2:55
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to retain ssh connection from mac OS Sierra to Linux box. But after few mins of inactivity, it shows
$ packet_write_wait: Connection to 10.227.255.110 port 22: Broken pipe.
How to resolve the problem.
In etc/ssh/ssh_config
file, I have uncommented the line
# SendEnv # (no default)
# ServerAliveCountMax 3
ServerAliveInterval 10
# StrictHostKeyChecking ask
# TCPKeepAlive yes
# Tunnel no
ssh sshd
I am trying to retain ssh connection from mac OS Sierra to Linux box. But after few mins of inactivity, it shows
$ packet_write_wait: Connection to 10.227.255.110 port 22: Broken pipe.
How to resolve the problem.
In etc/ssh/ssh_config
file, I have uncommented the line
# SendEnv # (no default)
# ServerAliveCountMax 3
ServerAliveInterval 10
# StrictHostKeyChecking ask
# TCPKeepAlive yes
# Tunnel no
ssh sshd
edited Apr 28 at 23:42
Michael Homer
42.3k6108148
42.3k6108148
asked Apr 28 at 23:29
sromit
11
11
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to setClientAliveInterval
in the/etc/ssh/sshd_config
on the server side to a value of60
which will send the packet every 60 seconds.
â Nasir Riley
Apr 29 at 2:55
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25
add a comment |Â
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to setClientAliveInterval
in the/etc/ssh/sshd_config
on the server side to a value of60
which will send the packet every 60 seconds.
â Nasir Riley
Apr 29 at 2:55
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to set
ClientAliveInterval
in the /etc/ssh/sshd_config
on the server side to a value of 60
which will send the packet every 60 seconds.â Nasir Riley
Apr 29 at 2:55
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to set
ClientAliveInterval
in the /etc/ssh/sshd_config
on the server side to a value of 60
which will send the packet every 60 seconds.â Nasir Riley
Apr 29 at 2:55
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440660%2fssh-connection-from-mac-os-sierra-10-12-to-aws-linux-server-broken%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did you make the above changes on the client or the server? If you want the server to send a no alive packet to keep the connection open then you need to set
ClientAliveInterval
in the/etc/ssh/sshd_config
on the server side to a value of60
which will send the packet every 60 seconds.â Nasir Riley
Apr 29 at 2:55
I did that in my client side..as in server i dont have access
â sromit
Apr 30 at 20:25