Sometimes you want to log in Linux from Linux without password. To do this you need two commands:

1) ssh-keygen-t dsa – generate a key for the user
2) ssh-copy-id – copy the key to the server which will be log in.

Now we go to the server via ssh

And there is no problem)