Changes

Jump to: navigation, search

OPS705 Lab 2

637 bytes added, 12:17, 16 January 2023
Part 5: Using SSH Keypairs
# With a second terminal, verify that you can login to your VM's SSH from your personal computer without a password (keypair authentication). Do not move on to the next step until you’re sure.
#* Login the same way as before. '''If you aren't asked for a password, then keypair authentication has succeeded.'''
 
=== Adding Your Professor's Public Key ===
In this section, you will add your professor's public key to allow them to log in to your Linux VM and run lab checks and perform troubleshooting when needed.
 
# On Blackboard, find your professor's public key and copy the text from inside the file.
# Using the following command as your '''regular user''', install your professor's public key on to your Linux VM (substitute <professorID> for the actual public key text): <code>echo "<professorID>" >> ~/.ssh/authorized_keys</code>
# On your test terminal, log out and log back in again to check that keypair authentication is still working.
=== Disabling SSH password authentication: ===

Navigation menu