I installed gitosis on a remote shell. It's working fine. But now I can't login to the interactive shell. As told here, it seem gitosis disabled tty. Is there anyway I can get it back? I don't have root access to the remote server.
Asked
Active
Viewed 1,673 times
1 Answers
3
You may be able to login if you make your ssh client not ask for a tty, probably by using the -T
flag.
e.g.
ssh -T remotehost
You will not get a shell prompt, the normal editing keys will not work, and you won't be able to use full screen programs such as vi, emacs or less, but you will be able to run simple shell commands.
I don't know how to re-enable the tty though, sorry.

dave4420
- 46,404
- 6
- 118
- 152
-
No, that gives me ERROR:gitosis.serve.main:Need SSH_ORIGINAL_COMMAND in environment. – SparrowG Nov 23 '11 at 15:08