0

This question already has an answer here:

I can only login to server as a non-root user. How can I make ssh login password-less?

marked as duplicate by user4556274, dr01, DopeGhoti, Stephen Rauch, Rui F Ribeiro Jul 25 '17 at 15:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

I guess you might want to try RSA public-key auth.

https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server

Here is a detailed method, and it depends on whether your ssh server allow rsa public key auth.

Not the answer you're looking for? Browse other questions tagged or ask your own question.