Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 (id_rsa.pub) 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

1 Answer 1

Take a look at

Troubleshooting sshd server configuration
http://sfxpt.wordpress.com/2011/03/05/troubleshooting-sshd-server-configuration-2/

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.