4

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.

Community
  • 1
  • 1
SparrowG
  • 221
  • 1
  • 4
  • 13

1 Answers1

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