0

I have a Ubuntu server and another Ubuntu desktop... When I used ssh [email protected] it just shows Permission Denied (publickey). I have already set these to PasswordAuthentication no and UsePAM no, but even then I'm not able to connect the server... Please help me on this issue.

1 Answer 1

1

If you set PasswordAuthentication to no you can login only by using keys. If you didn't set up keys properly it denies you the access with exactly that error (Permission Denied (publickey)). You either need to reactivate passwords or set up public key authentication (a lot of tutorials available for that).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .