Open main menu

CDOT Wiki β

Changes

OPS705 Lab 2

59 bytes added, 11:11, 16 January 2023
Switching to SSH keypair authentication:
# On your Linux VM as a regular user, generate your SSH keypair (accept all defaults): <code>ssh-keygen</code>
# Install the new keys on the system: <code>ssh-copy-id -p 22222 localhost</code>
# Using FileZilla on your personal computer, log into the Linux VM and download your new public key to your personal computer:. They can be found on your Linux VM in <code>~/.ssh/</code>
#* On Windows, store the downloaded key here: <code>C:\Users\[yoursenecaid]\.ssh\</code>
#* On Mac, store the downloaded key here: <code>~/.ssh/</code>, then run the following command: <code>chmod 700 ~/.ssh; chmod 600 ~/.ssh/id_rsa*</code>