Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'm using Linode, and I've asked around on the IRC channels, but no one seems to know. I've logged into my server via LISH (reference), and I used the correct password, and everything went fine. However, I need to login via SSH/FTP, and I can't. It keeps on giving me "permission denied". I know the password is correct because I reset it via LISH, and I know I've got the login method right because I've logged into my server before using the exact same commands. I sure hope this doesn't turn out to be some noob issue, or I'm going to be quite frustrated.

share|improve this question
up vote 14 down vote accepted

You need to run ssh (the client, and possibly the server) with more verbosity to understand why authentication is failing. For the client, run

ssh -v -v -v username@host 

On the server end, look in the logs. /var/log/auth.log will give you a pretty good idea about what happens when you try to login, look for messages that contain "sshd". There are a variety of reasons why authentication could be failing, ranging from simple (you aren't using the right username) to more complicated (sshd is configured to use the wrong authentication system).

share|improve this answer
Thanks, I'll check that out as soon as I can get back to working on the server. – willbeeler Mar 6 '12 at 19:32
I reset my password via the Web Console in Linode, and I was able to get back in. I appreciate the verbose tip. That's very useful. – willbeeler Mar 9 '12 at 15:26
thank you, turns out my server also have ssh ip restriction i found out by looking to auth.log. – siniradam Nov 23 '15 at 10:18

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.