I'm working with a guy who has given me an account on his Red Hat server. I.e., I can login via SSH. The weird bit is that my account shares a uid and gid with his account. Is this normal or a really bad idea?
The problem I'm having is that I want to put my public key in ~/.ssh/authorized_keys on the server so that I can login via key pair. I have tried putting it in a variety of places but ssh never attempts to use the key pair for authentication.
I had some confusion at first because my user (sneakyimp) and his user (hisuser) apparently each have their own home directory (/home/sneakyimp and /home/hisuser). I've tried putting my public key in both these places but it doesn't work:
I also tried logging in and putting the key in ~/.ssh/authorized_keys and that doesn't work either.
when I login using ssh firstname.lastname@example.org
, the prompt and whoami tell me that I am logged in as hisuser.
I've tried to look at the contents of /etc/ssh/sshd_config but I don't have read permission on the file.
Can anyone help me figure out where to put my public key?