I have a remote server at www.example.com
And when I use ssh-key login it, everything looks fine. I read some tutorials, established the private/public key pair, etc.
The login looks like:
ssh -lusername example.com #it's working fine
But I want to login as another username, on the same server. I am confused.
ssh -lroot example.com #it's NOT working fine, I have to enter the password
What should I do in this case?
fyi, the root has already got a authorized_keys file by my friend (we share the server) so I have generated a new pub key and append it to the original one.
Thanks