Set Up SSH Keys#

  1. Open up a terminal or PowerShell

  2. run the command

    sshkey-gen -t rsa
  3. Then configure your key name saved under the “.ssh/” directory

  4. Copy the contents of the .pub version

  5. Connect to the Remote Desktop

  6. In a terminal run

    nano .ssh/authorized_keys
  7. Paste the .pub contents at the end of the opened file on a new line

  8. Save the file in place and exit

References:#

[1] - https://linuxhint.com/generate-ssh-key-ubuntu/
[2] - https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
[ ]: