How do I prevent my SSH connection from dropping?

Linode Staff

When my SSH connection is idle for a relatively short time, it drops. The error I get is:

end disconnect: Broken pipe

How can I prevent this from happening?

1 Reply

Hey there -

You should be able to add a longer connection period to fix this. I've found a page on Stack Exchange which gives you some tips on how to do it:

What does the Broken pipe message mean in an SSH session?

I hope that helps!


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct