February 2020
Intermediate to advanced
666 pages
15h 45m
English
Transferring my public key to a remote server allows the server to readily identify both me and my client machine. Before I can transfer the public key to the remote server, I need to add the private key to my session keyring. This requires two commands. (One command invokes ssh-agent, while the other actually adds the private key to the keyring):
donnie@ubuntu1804-1:~$ exec /usr/bin/ssh-agent $SHELLdonnie@ubuntu1804-1:~$ ssh-addEnter passphrase for /home/donnie/.ssh/id_rsa: Identity added: /home/donnie/.ssh/id_rsa (/home/donnie/.ssh/id_rsa)Identity added: /home/donnie/.ssh/id_ecdsa (/home/donnie/.ssh/id_ecdsa)Identity added: /home/donnie/.ssh/id_ed25519 (donnie@ubuntu1804-1)donnie@ubuntu1804-1:~$ ...