"Failed password" and "Invalid user" - Secure Shell Server

I installed ssh-server on Ubuntu 18.04.01.

When I try to access the server with PuTTY the error "access denied" is shown. The server log says "failed password" and "invalid user".

I also changed "PermitRootLogin yes" in sshd_config. But it still doesn't work. I am trying to figure out the problem since hours.

Does somebody know, what configuration has to he changed?

2 Answers

If you still have access to the server's terminal, use the command "cut -d: -f1 /etc/passwd" to see all users.

7

You must restart sshd after updating the config file.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like