Git prompt
- From
Ethan Reesor <firelizzard@gmail.com>
- Date
- Feb 10, 2013, 21:05 UTC
- Message-ID
- <CAE_TNikk-9sYVRQRwRecNpp3otQ+oc=uV9SPu+7pAkCUNbcUoQ@mail.gmail.com>
I have a git user set up on my server. It's prompt is set to git-prompt and it's git-shell-commands is empty. The server works as a git remote using ssh and the git user. When I `ssh git@server` I get a prompt where I can do nothing. When you ssh to github.com, you recieve this message: "Hi username! You've successfully authenticated, but GitHub does not provide shell access."
How do I make the git user work like github where, upon attempting to get a prompt, the connection is closed?
-- Ethan Reesor