PTY allocation?

Scott Neugroschl scott_n at xypro.com
Wed Jun 5 06:23:00 EST 2013


It wound up being a brain-dead client that was asking for a terminal on
an SFTP session.
I'm still thinking about looking at the subsystem, and skipping the
terminal allocation for SFTP.

> -----Original Message-----
> From: dtucker at dtucker.net [mailto:dtucker at dtucker.net] On Behalf Of
> Darren Tucker
> Sent: Tuesday, June 04, 2013 11:14 AM
> To: Scott Neugroschl
> Cc: openssh-unix-dev at mindrot.org
> Subject: Re: PTY allocation?
> 
> On Tue, Jun 4, 2013 at 1:08 PM, Scott Neugroschl <scott_n at xypro.com>
> wrote:
> > Attempts to connect to that sshd via sftp are failing due to an
> > inability to allocate a pty.   I can't really see a reason that an
> sftp
> > session requires a pty.
> 
> me either.
> 
> > Is this addressed in later versions?
> 
> Requesting a tty is a function of the client, not the server.
> 
> > Should I patch my system to avoid even trying to allocate a pty for
> an sftp session?
> 
> maybe.  which client software are you using?  OpenSSH has the
> RequestTTY option, but it looks like the default of "auto" doesn't
> request one with sftp sessions.
> 
> --
> 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.


More information about the openssh-unix-dev mailing list