I have a set of SSH keys working correctly, but I now need multiple keys for connection to other servers.
I have set up a new set of keys for the new server, adding an identifier to the files of 'lightand'. The keys are:
I have added the public key into the 'authorized_keys' file and placed the private key on my local machine (in .ssh folder).
On the local machine, I have then set up a 'config' file and added the following:
Host firstname.lastname@example.org IdentityFile ~/.ssh/id_rsa_lightand
I have then run:
eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa_lightand
However, with the above completed, I still get a password prompt through terminal.
Does anyone have any ideas on where I have gone wrong?