Set Up SSH Keys to access Remote Desktop VM over SSH#
To connect to your GEOAnalytics Canada Remote Desktop over SSH, you will need to generate an SSH key pair on your local machine and upload the public key to your remote desktop. To do this, follow these steps:
Open up a terminal or PowerShell
run the command
sshkey-gen -t rsa
Then configure your key name saved under the “.ssh/” directory
Copy the contents of the .pub version
Connect to the Remote Desktop
In a terminal on the remote desktop, run
nano .ssh/authorized_keys
Paste the .pub contents at the end of the opened file on a new line
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
[ ]: