Hi,
AFAICT, there is no .ssh/config option for disabling pseudo-tty
allocation. It would be nice to have one.
Context: we're using gitolite in our project, and it sets things up
to run a command with "no-pty". Every once in a while, users will try
to ssh to the machine to see that things are working, and when they
see the "PTY allocation request failed on channel 0" warning, they
assume that something is broken. This happens infrequently enough
that there is no way for people to remember the explanation, let alone
remember to add a `-T'. However, they all have config entries for the
server, so if an option to disable pty allocation in the config would
have resolved this problem.
Thanks,
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
On Fri, Apr 6, 2012 at 6:18 PM, Eli Barzilay <eli at barzilay.org> wrote:> AFAICT, there is no .ssh/config option for disabling pseudo-tty > allocation. ?It would be nice to have one.RequestTTY Specifies whether to request a pseudo-tty for the session. The argument may be one of: ``no'' (never request a TTY), ``yes'' (always request a TTY when standard input is a TTY), ``force'' (always request a TTY) or ``auto'' (request a TTY when opening a login session). This option mirrors the -t and -T flags for ssh(1). It was added in 5.9. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4? 37C9 C982 80C7 8FF4 FA69 ? ? Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.