I tried to add a user which is able to authentificate using the keyfile authentification method to authentificate on a linux ubuntu machine. I tried now 2 full days but I failed to set this up. Here is what I've done so far:
- I added a user teamalpha and gave All rights in sudoes file
- I added .ssh (700) and authorized_keys (600) in user directory
- I changed the owner of the file and directory to the teamalpha user
- I added in authorizedKeyfile %h/.ssd/authorized_keys
- I placed the pub key generated by PuttyGen in the authorized_keys file. I did it the same way I have done it before for the root user. For root it works correct.
- with service ssh restart i restarted the ssh service
When I now try to login with teamalpha user I only get the failure message Server refused our Key
I tried now 2 full days many different shemes and setting. All failed. What is wrong there?