Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

2 Answers

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
add comment

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
add comment

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.