Thursday, March 19, 2020

SSH without password

You can remote login to other servers using a secure key: 1. Use 'ssh-keygen -t rsa -b 2048' to generate a secure key. 2. just press "Enter" for every questions. Especially, don't enter a passphrase. 3. Use 'ssh-copy-id id@server' to copy the secure key to the remote server 4. Now you can login without password

No comments: