On your Linux VM, create a pair (private/public) pair of authentication keys as follows. Do not enter a passphrase when it asks (simply hit Enter to not have a passphrase)
ssh-keygen -t rsa
The keys are generated in the folder /.ssh and are in the files id_rsa and id_rsa.pub. Go ahead and take a look at them with the cat command!
cat ~/.ssh/id_rsa.pub cat ~/.ssh/id_rsa
Now use scp command to copy your public key tt /.ssh/id_rsa.pub to onyx as follows:
scp ~/.ssh/id_rsa.pub onyx:
Then use ssh to login to onyx and put the public key in the appropriate place.
ssh onyx ----------on onyx--------- cd .ssh cat ~/id_rsa.pub >> authorized_keys chmod 600 authorized_keys cd .. rm -f id_rsa.pub chmod 700 .ssh exit
If the .ssh folder doesn't exist, create it first. Now, try using ssh to login to onyx again. You should get in without a password! Note that this is still secure as long as you keep your private key ( /.ssh/id_rsa) secure.