[Bug 3714] New: sftp fails in one direction

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jul 30 22:53:39 AEST 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3714

            Bug ID: 3714
           Summary: sftp fails in one direction
           Product: Portable OpenSSH
           Version: 9.2p1
          Hardware: ARM64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: hp4everything at googlemail.com

Created attachment 3827
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3827&action=edit
terminal messages client and server with option -vvvv

I have 2 Raspberry Pi with Debian-Linux
host1 Raspberry Pi3 with Linux 6.1.0-17-arm64
host2 Raspberry Pi4 with Linux 6.6.31+rpt-rpi-v8

On both the official openssh 9.2p1 with identical binaries

ssh works fine between both machines in both directions

sftp works fine with host2=client and host1=server

But sftp immediately closes the connection in the other direction!

In the error case there appear additional messages related to
pseudoterminals and a SIGCHILD-event is reported on the server.

Sorry, I'm not very familiar with pseudo-terminals. I've only read that
TIOCSCTTY might require special access rights (CAP_SYS_ADMIN). So maybe
there a some Security-related modern Linux-configurations required for
sftp, which I've not been able to find.  


Attached please find terminal dbg-messages in the error-case
(host1=sftp-client,host2=server) 
and the ok-case 
(host2=sftp-client,host1=server)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list