Recent Posts
Recent Comments
Install and Set Up U… on SSH Keys | |
Install and Set Up U… on How To Sudo without passw… | |
Linux Mint 21.x | Sq… on Install VirtualBox 7.0 on Linu… | |
Linux Mint 19.x | Sq… on IPTables |
Mac's tech blog
Scenario: You just installed your Linux Server now you want to be able to SSH to that server using your SSH Keys so you don’t have to authenticate via password each time.
Assumption: You have already created your public and private SSH Keys and now you want to copy the Public Key to the Server so you can authenticate with SSH Keys.
The utility we are going to use is ssh-copy-id. This will copy your current user’s public SSH Key to the remote host.
$ ssh-copy-id -i ~/.ssh/id_rsa.pub [remote-host]
~/.ssh/id_rsa.pub
.
Pingback: Install and Set Up Ubuntu 22.04 Server | Squoggle