Best tunneling scheme? (SSH Connection Lock-up)

Hi guys,

I have been trying to get a better tunneling speed/stability through my linode, as my current ssh tunnel setup seems to lock up(ie. server becomes non-responsive) everytime I send multiple forwarded requests; this is quite common in scenarios like using the twitter api through ssh. I am just wondering if there is anything I can do to make it more stable. Thanks in advance.

PS: I also notice my ssh client is still connected to the server when the latter becomes non-responsive, but not sure what it implies. On re-connection everything works as usual, but the same sympton soon apppears again(given the same request rate).

3 Replies

Found it at:

http://www.linode.com/forums/viewtopic. … t=ssh+lock">http://www.linode.com/forums/viewtopic.php?t=4806&highlight=ssh+lock

apparently setting sshd port no. > 1024 is the cause of the problem. though I have no idea why.

Take a look at autossh … I've been using that for my ssh+screen session, which tends to die when I suspend my computer. It works out pretty well.

See: http://noone.org/blog/English/Computer/ … creen.html">http://noone.org/blog/English/Computer/Shell/Perfect%2520Team:%2520autossh%2520and%2520GNU%2520Screen.html

I've found OpenVPN over UDP to be a rather decent solution. I'm the technical administrator of a university club (even after I graduated, they have nobody to replace me, sigh). I'm currently routing all traffic from the club's desktop through my linode. The latency increase is very minimal (under 20ms from Montreal to Newark, if memory serves), and the speed is pretty decent (30Mbps through the Linode, as opposed to 40-50Mbps direct from the computer).

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