Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My problem seems to be identical to the question ssh hangs on "Last login" line , but the questions author did not post a solution.

So basically: - I can login - I can see the successful login via sftp in auth.log aswell as the logout after some time. - I can see the last login info and a command line - The command line is not responsive to any input - Every other service (apache, mysql, mail, etc.) is running fine - I waited for more than 10 mins, but it does not seem to be delay problem

Any ideas?

Thanks in advance! Carsten

share|improve this question
What is in your .bashrc .bash_profile .profile file? –  cstamas Apr 1 '12 at 20:38
You could also try passing a command to ssh to execute eg ssh host /usr/bin/id. There could be a problem with login shell (like broken .bashrc). –  kupson Apr 1 '12 at 21:03

2 Answers 2

sounds like you have a MTU/packet fragmentation problem... for example your MTU size maybe exceeded the max packet size for your network.

share|improve this answer

Is it by any chance a Dell system? Could you try 'ssh -T' or something like 'ssh myhost bash -i'? If yes that could be a bug attributed by some people to C-State switchen problems with some Intel CPUs or something different.

share|improve this answer

Your Answer


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.