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.


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


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.