To set up passwordless login you'll need to have set up an RSA key pair on your local machine for SSH.
On linux and Mac OS.
To generate an RSA keypair, just do this command on your machine.
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ""
After you do this, you should have two files in the ~/.ssh directory, id_rsa id_rsa.pub.
is your private key. Keep this safe and don't send it out to anyone or copy it anywhere else.
is your public key. This is the key you'll need to set up passwordless login.
Now log in to arc.utsa.edu and open/create the file ~/.ssh/authorized_keys
Take the contents of the id_rsa.pub
on you local machine and paste it into the ~/.ssh/authorized_keys file on arc and save it. You can add as many keys as you want, one per line.
Now you should be able to log in without a password.
- 16 Sep 2021