I am writing a small script and I need to connect to a remote server using ssh with one line. I learned that I should use ssh-keygen, I read few tutorials about ssh. But none of them were clear for a beginner
I want to connect to the remote server without any password prompt. I didn't understand where to create the keys, in the local machine or the remote and what should I do with the key?
I would be very glad if someone helps?
Thanks in advance