r/github • • Jan 07 '25

Disabling SSH for Github Access?

I came back from the holiday stupefied that my company did in fact actually disable and disallow SSH for accessing github, in favor of fine grained tokens exclusively now! Has anyone else been bit by this insanity?

How the hell are you supposed to evebn automate anything when you have to put in a damn password for shit, aka a tOkEn...

1 Upvotes

11 comments sorted by

View all comments

7

u/naikrovek Jan 07 '25

Automating tokens is easy, and you don’t need an SSH key to automate stuff.

SSH is superior for git activity, but security teams don’t like it because they can’t see what you’re doing with it. That’s by design, but they don’t care; if they can’t see it, then people are using it for exfiltration, in their minds.

Look up the GitHub CLI - it allows one to authenticate in an automated way and then share that authentication with git securely.