I am attempting to setup an SSH pubkey login using a non-root user. I can login if I use a password, however, no go with a public key.
I turned "Strictmodes" to no in the sshd_config file and pubkey login works. However if I leave Strictmodes to yes, I can't log in with pubkey.
I think it is because the group owner is not the user
Code:
drwx------+ 2 amrogers3 share 4096 Jan 26 08:32 .ssh
I am getting an error when I do
Code:
chown -R amrogers3:amrogers3 /home/amrogers3/.ssh
chown: invalid group: `amrogers3:amrogers3'
I tried googling but haven't found a solution. Coming here in a last ditch effort to figure this out. Any help would be greatly appreciated.
Thanks for your time.