ssh connection from Mac OS Sierra 10.12 to AWS Linux Server broken

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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






share|improve this question





















  • 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














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






share|improve this question





















  • 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












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






share|improve this question













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








share|improve this question












share|improve this question




share|improve this question








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 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
















  • 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































d2,w0febvYrD,7ns,PxTS KL6Y QM 1Ut
u6z7SGzpfPSkRKDiWzgQ6

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS