Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems with my SSH client on Ubuntu 10.10.

When I switch on my computer and open a Terminal and execute the command ssh user@host, it gives me a password prompt after which I enter the right password, I then get a prompt to execute my commands on the remote computer.

Now the problem is, after a little while (probably around 10 minutes), the terminal window stops accepting commands (No matter what I type, nothing shows). Once this happens, I close the Terminal window and try to start all over again by opening another Terminal window. But this time around, after entering the right password, I don't get a welcome message or prompt. The cursor just keeps blinking on a new line.

I ran the ssh command with -v parameter and the message I get after a successful login is:

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_GB.utf8

Still the cursor keeps blinking on a new line without a prompt.

However, Putty SSH client works perfectly on the same machine.

Thank you very much for your time. Your help would be greating appreciated.

share|improve this question
Already tried with multiple -v -v -v? – glglgl Nov 16 '11 at 13:57
Same question posted on serverfault. see answer here: – KidAsComputer Mar 16 '14 at 22:45

Try this command at the server side of SSH in order to verify:

netstat --route

I had the same problem because IT changed the Internet provider and didn't update a gateway in a route.

share|improve this answer

Check for network / connectivity issues.

telnet host 22

(presuming you run your SSH on port 22)

Try connecting to other SSH hosts.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .