Page MenuHomePhabricator

Can't access repos via SSH: Permission denied (publickey)
Closed, ResolvedPublic

Description

See T282842#7738176.

Re T282842#7738217: the key is in my keyring, but the issue looks still there.
Perhaps I'm missing some user/group permissions (just a guess)?

Event Timeline

Try a manual SSH connection with the -v flag to see what's happening.

ssh -v git@gitlab.wikimedia.org

If it works, you should see something like Offering public key and then Server accepts key and then a Welcome to GitLab between all the log lines.

Paste its result here if you want.

valerio.bozzolan renamed this task from Can't access repos via SSH to Can't access repos via SSH: Permission denied (publickey).Feb 25 2022, 5:04 PM
ssh -v git@gitlab.wikimedia.org

I can confirm that`ssh` is offering my public prod key 😵

Is this fix good for you?

https://wikitech.wikimedia.org/w/index.php?title=SRE%2FProduction_access&type=revision&diff=1952579&oldid=1934781

Works like a charm, thank you so much for spotting this and updating on wiki!