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.
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 -vvv username@host
On the server end, check 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).
Try using a different port. Seems that the SSH port the server was using was being used by another service, and I was getting some verrrrry wonky results.
In my case I edited /etc/shadow- with a text editor, as file manager was the only access I had. Even after I put the original hash string back somehow it didnt work. So after I reset a password with hosting panel all became working.
protected by Community♦ Jul 30 '18 at 18:15
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?