ssh git@sr.ht is asking password and denies me

dostoynikov
2025-05-04T17:02:51Z

Hey guys.

I'm trying to make the connection between my system and Sourcehut. I created my Ssh key and added pub key to the Sourcehut. Added the private key with the ssh-add ~/.ssh/id_ed25519 code after the "eval" thing.

Whenever I try ssh git@sr.ht, it asks for password. I do not know what password it is and I'm entering my passphrase but it says permission denied.

On Github side, I managed everything without problem tho. Any hints?

EDIT: I removed Git and SSH keys completely. Reinstalled Git again. Followed the instructions step by step for the SSH keys and it worked this time. I have no idea what I did different this time but it works now after 3 hours of hell.. I suspect that I made a typo in config file in SSH directory. Thanks for comments guys! I love you all!

Comments URL: https://tildes.net/~comp/1nss/ssh_git_sr_ht_is_asking_password_and_denies_me

Votes: 13

Comments: 10