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.

I am trying to connect to my webserver via ssh but I can't. When I insert the password then the terminal is blocked. This is what I see:

# ssh username@username.example.com
username@username.example.com's password: 

Why ? In iptables there are no rules. Please help :(

share|improve this question

migrated from stackoverflow.com May 11 '10 at 11:46

This question came from our site for professional and enthusiast programmers.

    
What do you mean, "blocked"? Nothing happens afterwards? –  richsage May 11 '10 at 11:42
2  
isn't the right syntax, username@example.com? –  Diones May 11 '10 at 11:43
5  
this is not a programming related question, try superuser.com –  Omry May 11 '10 at 11:44
    
What do the logs say in /var/log? There should be SSH or SSHD logfiles that may give some clue. If it's a DNS issue, the connection may be timing out; are you using a Mac to connect? I've had issues with that before where DNS reverse lookups time it out. Also, you can run SSH with a debugging verbose switch to see what the conversation is between client and server; run that and post the results to help with troubleshooting. –  Bart Silverstrim May 11 '10 at 12:05

3 Answers 3

Just in case you are irritated that nothing after the password prompt is printed: that's perfectly normal. The characters of the password will not be printed. Just enter the (correct) password and press Enter.

share|improve this answer

^C character in your password can block the terminal if you are using PuTTY.

share|improve this answer

Verify that the user account you're trying to log in with is in fact allowed to log in via SSH.

share|improve this answer

Your Answer

 
discard

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