Comments on: How to Generate an SSH Key Pair (with Examples) https://linuxiac.com/generate-ssh-key-pair/ All things Linux & Open Source Thu, 19 May 2022 13:16:05 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Bobby Borisov https://linuxiac.com/generate-ssh-key-pair/#comment-3009 Sat, 17 Jul 2021 17:46:50 +0000 https://linuxiac.com/?p=27945#comment-3009 Thank you both. To Steve, for the proper remark, and to Ricardo, for the good answer.
I will soon publish an article related to SSH passwordless login.

]]>
By: Ricardo https://linuxiac.com/generate-ssh-key-pair/#comment-2999 Sat, 17 Jul 2021 16:38:27 +0000 https://linuxiac.com/?p=27945#comment-2999 In reply to Steve.

You can use ssh-copy-id, e.g.:

ssh-copy-id -i ~/.ssh/id_rsa.pub user@server

Or manually by copying the contents of ~/.ssh/id_rsa.pub into the user’s ~/.ssh/authorized_keys file on the server.

If you do it manually, make sure to put permissions 0700 for ~/.ssh.

Cheers.

]]>
By: Steve https://linuxiac.com/generate-ssh-key-pair/#comment-2975 Sat, 17 Jul 2021 14:13:24 +0000 https://linuxiac.com/?p=27945#comment-2975 “You can place the public key on any server, …” Please expalain how one can place the public key on the server.

]]>