Re: AIX SFTP with chroot : conection closed without error message

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



I didn't know that I can have different logging level in the sftp process. thanks for the tip

I have tried and there is some information : sftp cannot allocate a tty !

The logs :

Starting session: forced-command (config) 'internal-sftp' on pts/11 for cpdp from 10.1.0.161 port 50336
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: channel 0: rfd 9 isatty
debug2: fd 9 setting O_NONBLOCK
/dev/pts/11: No such file or directory
debug3: fd 7 is O_NONBLOCK
open /dev/tty failed - could not set controlling tty: No such file or directory


looks like it requires having a duplicate environment inside the chroot :-(

Is there a way to avoid /dev duplication ?
If not, does anyone know how to do it ?

Thanks,
Thierry

*Thierry CHARLES*
Infass Systèmes <http://www.infass.com>

Le 01/04/2014 05:55, Damien Miller a écrit :
Adding some debug flags to your sshd_config Subsystem declaration might
elicit a little more information, e.g.

Subsystem      sftp    internal-sftp -l debug3

begin:vcard
fn:Thierry CHARLES
n:CHARLES;Thierry
org;quoted-printable:Infass Syst=C3=A8mes
adr:;;26 rue Henri Barbusse;TOURS;;37000;FRANCE
email;internet:t.charles@xxxxxxxxxx
tel;work:(+33) 2.47.38.20.50
x-mozilla-html:TRUE
url:http://www.infass.com
version:2.1
end:vcard

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux