search for: close_fds

Displaying 20 results from an estimated 72 matches for "close_fds".

2005 Jun 09
3
[Bug 1054] Nmap Causing SSH Session to Prematurely End
...nnect from 127.0.0.1 port 65397, nchannels 4 debug3: channel 3: status: The following connections are open: #2 client-session (t4 r0 i0/0 o0/0 fd 6/7) #3 direct-tcpip: listening port 3389 for 192.168.1.120 port 3389, connect from 127.0.0.1 port 65397 (t4 r1 i3/0 o3/0 fd 9/9) debug3: channel 3: close_fds r 9 w 9 e -1 debug1: client_input_channel_req: channel 2 rtype exit-status reply 0 debug2: channel 2: rcvd eof debug2: channel 2: output open -> drain debug2: channel 2: rcvd close debug2: channel 2: close_read debug2: channel 2: input open -> closed debug3: channel 2: will not send data aft...
2008 Apr 01
1
Frequent "Connection reset by peer"
...ction in everything between 0-120 seconds. Switching on verbose on the troubling machine I also get the: "debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1) debug3: channel 0: close_fds r 4 w 5 e 6 c -1 Read from remote host ucsbackup03: Connection reset by peer Connection to ucsbackup03 closed. debug1: Transferred: stdin 0, stdout 0, stderr 96 bytes in 5329.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status -1" And regarding the cablin...
2010 Feb 27
8
[Bug 1719] New: Debug server prints debug messages on client
...-ddd -p4242") will print debug and "Environment" messages on the client: $ ssh -p4242 127.0.0.1 'date' Environment: USER=... LOGNAME=... HOME=... PATH=... MAIL=... SHELL=... SSH_CLIENT=... SSH_CONNECTION=... debug3: channel 0: close_fds r -1 w -1 e -1 c -1 Sat Feb 27 11:52:32 PST 2010 It's often useful to start a debug server to help track down problems without interfering with the client... and those extra client-side debug and "Environment" messages can cause issues for things that indirectly run ssh (like cvs...
2013 May 31
1
Can't provision with BIND9_DLZ
...samba/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 805, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line 36, in tdb_copy status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False) File "/usr/lib64/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1...
2006 Oct 23
1
Disconnecting: Corrupted MAC on input. - Solaris 8 64-bit SPARC OpenSSH 4.4p1
...s other files (not nearly as large) all transfer without pain. Does anyone have any suggestions? scp -vvv gives the following when it bombs: ebug2: channel 0: window 57344 sent adjust 73728 debug2: channel 0: window 57344 sent adjust 73728 Disconnecting: Corrupted MAC on input. debug3: channel 0: close_fds r 4 w 5 e 6 c -1 lost connection I've even tried doing the following: ssh $host gzip -dc $file | gzip -9 > $file and got the same result. Cheers, -Thomas __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http...
2017 Apr 18
2
system/system2 and open file descriptors
...pen some resources. Would it be possible to add an option to close file descriptors for child processes? It would be nice if that were the default, but I suspect that making that change would break a lot of existing code. To take an example from the Python world, subprocess.Popen() has an option, close_fds, which closes all file descriptors except 0, 1, and 2. https://docs.python.org/2/library/subprocess.html#popen-constructor -Winston [[alternative HTML version deleted]]
2005 Nov 02
1
sftp/scp hangs at connection, but ssh is OK
...ug1: server_input_channel_req: channel 0 request exec reply 0 > Oct 30 16:23:13 dream sshd[2124]: debug1: session_by_channel: session 0 channel 0 > Oct 30 16:23:13 dream sshd[2124]: debug1: session_input_channel_req: session 0 req exec > Oct 30 16:23:13 dream sshd[2125]: debug3: channel 0: close_fds r -1 w -1 e -1 c -1 > Oct 30 16:23:13 dream sshd[2124]: debug2: fd 8 setting O_NONBLOCK > Oct 30 16:23:13 dream sshd[2124]: debug3: fd 8 is O_NONBLOCK > Oct 30 16:23:13 dream sshd[2124]: debug2: fd 10 setting O_NONBLOCK > Oct 30 16:23:13 dream sshd[2122]: debug2: User child is on pid 21...
2017 Jul 10
2
using samba with bind dlz
...File "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 851, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/lib64/python2.7/site-packages/samba/tdb_util.py", line 36, in tdb_copy status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False) File "/usr/lib64/python2.7/subprocess.py", line 168, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1...
2005 Dec 02
3
[Bug 1129] sshd hangs for command-only invocations due to fork/child signals
...ecve doesn't appear to complete, and the parent doesn't appear to return from the fork. Observe: Dec 2 03:23:14 yoda sshd[7463]: debug1: calling fork in do_exec_no_pty Dec 2 03:23:14 yoda sshd[7464]: debug1: permanently_set_uid: 982/100 Dec 2 03:23:14 yoda sshd[7464]: debug3: channel 0: close_fds r -1 w -1 e -1 c -1 Dec 2 03:23:14 yoda sshd[7464]: debug1: calling execve for user command [then nothing] If I add a usleep(10) before the execve, it works fine: Dec 2 03:31:16 yoda sshd[8275]: debug1: calling fork in do_exec_no_pty Dec 2 03:31:16 yoda sshd[8276]: debug1: permanently_set_uid:...
2009 Dec 03
1
Winbind + SSH + AIX - Connection to aixserver01 closed by remote host
...channel 0: send open debug1: Requesting no-more-sessions at openssh.com debug1: Entering interactive session. debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t3 r-1 i0/0 o0/0 fd 4/5 cfd -1) debug3: channel 0: close_fds r 4 w 5 e 6 c -1 Connection to aixserver01 closed by remote host. Connection to aixserver01 closed. Transferred: sent 1648, received 1544 bytes, in 0.0 seconds Bytes per second: sent 105932.7, received 99247.6 debug1: Exit status -1 On the server aixserver01: Dec 3 11:23:15 aixserver01 authpriv:...
2012 Sep 30
2
User can't use SFTP after chroot
...user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1) debug3: channel 0: close_fds r -1 w -1 e 6 c -1 debug3: Wrote 32 bytes for a total of 1863 debug3: Wrote 64 bytes for a total of 1927 debug1: fd 0 clearing O_NONBLOCK debug3: fd 1 is not O_NONBLOCK Transferred: sent 1744, received 2008 bytes, in 0.0 seconds Bytes per second: sent 627347.0, received 722312.4 debug1: Exit status...
2006 Jan 08
3
Allow --without-privsep build.
I've been trying to cut down the size of openssh so I can run it on my Nokia 770. One thing which helps a fair amount (and will help even more when I get '-ffunction-sections -fdata-sections --gc-sections' working) is to have the option of compiling out privilege separation... Is it worth me tidying this up and trying to make it apply properly to the OpenBSD version? Does the openbsd
2008 Jan 29
1
Frequent "Connection reset by peer"
...D-WRT, both of them WDS'd together, plugged via ethernet to another FreeBSD machine. With debug cranked, I see : debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 4/5) debug3: channel 0: close_fds r 4 w 5 e 6 Read from remote host 10.0.0.1: Connection reset by peer Connection to 10.0.0.1 closed. debug1: Transferred: stdin 0, stdout 0, stderr 90 bytes in 106.9 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.8 debug1: Exit status -1 Thanks, Tuc
2008 Mar 15
1
ssh/sshd hang after "debug2: channel 0: open confirm rwindow 0 rmax 32768"
...l 0: open confirm rwindow 0 rmax 32768 [HANGS HERE FOR A COUPLE OF MINUTES! Then after an agonizing wait...] debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 5/7 cfd -1) debug3: channel 0: close_fds r 5 w 7 e 8 c -1 Read from remote host XXX.XXX.uwm.edu: Operation timed out ------------------------------------------------------------ This bug has appeared on a stable set of systems that have worked well for quite some time. The only thing that has changed is that I am in a hotel room with...
2009 May 24
0
OpenSSH_5.2p1. non-vpn login to root account requests TUN interface and cannot exit
...ose debug2: channel 1: is dead debug2: channel 1: garbage collecting debug1: channel 1: free: client-session, nchannels 2 debug3: channel 1: status: The following connections are open: #0 tun (t4 r0 i0/0 o0/0 fd 4/4 cfd -1) #1 client-session (t4 r1 i3/0 o3/0 fd -1/-1 cfd -1) debug3: channel 1: close_fds r -1 w -1 e 7 c -1 Running ssh -oTunnel=no root at pig does not help either. Commenting out Tunnel=yes in configuration file does work. I wonder why TUN device is requested when I am not asking for SSH-VPN tunneling, why it can not be closed on exit (nothing is using it) and why -oTunnel=no optio...
2009 Jun 03
0
Debug server prints debug messages on client
...11:47:05 PDT 2009 And to a 5.2p1 server started with "sshd -e -ddd -p4242": $ ssh -p4242 127.0.0.1 'date' Environment: USER=... LOGNAME=... HOME=... PATH=... MAIL=... SHELL=... SSH_CLIENT=... SSH_CONNECTION=... debug3: channel 0: close_fds r -1 w -1 e -1 c -1 Wed Jun 3 11:47:25 PDT 2009
2010 Jun 18
0
OpenSSH - SFTP issue
...ease let us know, what is this "Exit Status -1"?. Note that when transfering to Unix servers, it gives "Exit Status 0". Sample Log: debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1) debug3: channel 0: close_fds r -1 w -1 e 7 debug1: fd 0 clearing O_NONBLOCK debug2: fd 1 is not O_NONBLOCK debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 2.5 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status -1 Please let me know if you need any more detials....
2011 Aug 26
0
Unable to execute the commands at remote machine after RSA handshake
...user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1) debug3: channel 0: close_fds r -1 w -1 e 7 c -1 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 255 Thanks in advance, kishore.
2013 May 28
0
4.0.6 error: AD based DNS cannot be used
...samba/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 805, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line 36, in tdb_copy status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False) File "/usr/lib64/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1...
2009 Feb 08
0
[OpenSSH_5.1] Untrusted X11 forwarding (ssh -X) no longer works?
...: send close debug2: channel 1: is dead debug2: channel 1: garbage collecting debug1: channel 1: free: x11, nchannels 2 debug3: channel 1: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/139 fd 6/7 cfd -1) #1 x11 (t4 r2 i3/0 o3/0 fd 10/10 cfd -1) debug3: channel 1: close_fds r 10 w 10 e -1 c -1 Xlib: connection to "localhost:10.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: localhost:10.0 [Both ends are OpenBSDs. Client side is 4.4-RELEASE. X server is CURRENT] The above xauth command that ssh client tries, fails if...