SSH connection by VS code dropping again and again

I am connecting with the linode server via SSH connection using VS code but my connection gets dropped in every few minutes despite having good internet connection. Please help how do I resolve this?

1 Reply

I did a quick Google search for "vscode dropping ssh connection" and found this post that discusses what it sounds like you're encountering:

Since there wasn't any specific errors that you shared, I wasn't sure if that link would be helpful, so I wanted to include some more:

Here are a couple of posts from Stack Overflow that discuss various possibilities for what is happening to your SSH connections:

Finally, in case this isn't because of VS Code, I'd also recommend the following Community Question post about configuring timeout settings in your /etc/ssh/sshd_config file:

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct