logoalt Hacker News

0cf8612b2e1etoday at 7:01 PM1 replyview on HN

Do most installations create a git user account with login permissions?


Replies

inigyoutoday at 7:27 PM

There's no such thing as an account with or without login permissions. Normally you need a git account. And that means you can log in to it. And then you have to try and configure your ssh server so that after logging into the git account, you can only run the git server (I forget the command). If a mistake is made with this configuration then you can log in or port forward or X forward or file transfer as git.

This is a terrible idea because it's blacklist-based security. Places like GitHub have their own ssh server that only runs the git server and nothing else.

show 2 replies