Hi there --
I am trying to get a particular user account to be able to connect via ssh to another system by using rsa public and private keys.
The first thing I did was run the following command as the user in question, and made sure to have a null password:
The public and private keys were created in the appropriate directory.
The next step I did was to run the command shown below to copy the public key of the user to the remote system:
$ ssh user@remotehost “cat >> ~/.ssh/authorized_keys” < ~/.ssh/id_rsa.pub
After that was done, I connected to the remote system as the user, but I was still prompted for a password. It should be noted that the root account has a similar setup between the two machines, and it can connect using this method without a problem.
What do I need to do to correct this? Thanks.