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 am trying to ssh into a server and it hangs at login. This is the output of ssh -v:

OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to $$$$$$ [888.888.888.888] port 22.

I have generated ssh-keys on the client and placed its public key ( in the host's authorized_keys.

All machines are connected with a physical cable, not wireless. I can successfully ssh from the client to another separate machine on the same network, and I can also ssh from that separate machine to the host successfully. Finally I am able to ssh from host to client. But when I try to ssh from client to host it hangs.

What could be the issue?

share|improve this question
up vote 1 down vote accepted

Take a look at

Troubleshooting sshd server configuration

Especially the part,

  1. run /usr/sbin/sshd -d -D -p 222 on the server
  2. run ssh -v -C -A -X -p 222 on the client

Normally the log on the server side will reveal what went wrong.

share|improve this answer

You must log in to answer this question.

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