Monday, 4 February 2019

Automate login via ssh

Generate a passphrase less SSH key and push it to your PC.

$ ssh-keygen -t rsa -b 2048
$ ssh-copy-id id@server
$ ssh id@server

No comments:

Post a Comment