Using ssh on a weak connection

Hello!

I'm travelling in Asia and using wireless internet to connect to Linode (I don't have any other options to go online).

The connection is extremely unstable, so I can not even install simple things with Putty - the process can hang in the middle and break the system.

I thought that Ajax Console will help me and it should but here I have another problem. My laptop screen resolution supports not more than 1024*600 pixels and in Firefox and IE I can't see what I'm typing - it is under the screen border. In Chrome there is a scroll bar in Ajax console and I can see everything fine but Backspace and Pasting doesn't work there. In Opera Backspace is working, scroll bar is there but still no Pasting and it works much slower than in other browsers (7-8 seconds delay).

Is there anything that can help in my situation?

If there was a scroll bar in firefoxes console that could solve the problem.

5 Replies

You could use Putty to connect to the Lish console. If you get disconnected your session will still be active in Lish. You won't be able to transfer fiches through it or tunnel through it, but you can't do either of those in the Ajax console either. If purely command line access is what you need then I believe Lish is your best option.

Use screen. An install or other process running inside a screen session will keep going even if you are disconnected. When you re-establish your connection, just re-attach to that session.

I concur with the screen suggestion. Using Lish is just a bad way of using screen. Screen offers persistence since the processes will run when the terminal is disconnected. It also allows multiple connections to the session.

Install screen from your package manager, then start it with:

screen -S Then, if you get disconnected, you can use:

screen -r or:

screen -x if you want to connect multiple times.

Did I mention that using screen was good advice? Also, use screen.

(Or, you can use dtach if you find screen "heavy", but don't, use screen!)

Thanks to everybody! I'll will try screen!

I agree with screen also. I wasn't thinking when I wrote about using Lish.

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