I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option
Now I've added a user account git. I navigate to his home folder created the folder ".ssh" and created in that tolder the file "authorized_keys" I copied my public key in there.
Now on my local machine I added that identity (via ssh-add) and I wanted to connect to my server. but when I'm trying to login myself I can't the only message I get is "Permission denied (publickey)."
Could anyone help me out
P.S I also tried already to connect using the -v flag but there is nothing that really helps.. IMO
Thanks in advance!