🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Jean-Luc Dalous Wed, 07 Oct 2026 20:20
Bug#1150271: openssh-sftp-server: sftp-server fails silently with return code 11 on arm64 (Raspberry Pi4)
#87
Author: Jean-Luc Dalous
Date: Wed, 07 Oct 2026 20:20
14 lines
2434 bytes
Package: openssh-sftp-server
Version: 1:10.0p2-7+deb13u4
Severity: normal
Architecture: arm64 (Raspberry Pi 4, Debian trixie, kernel 6.18.50+rpt-rpi-v8)
The external sftp-server binary exits immediately with return code 11 and no output, making the sftp subsystem unusable (scp/sftp fail with "Connection closed" while interactive ssh works fine).
Steps to reproduce:
printf '3\n\n1\n\n' | /usr/lib/openssh/sftp-server; echo $? → rc=11, no output at all.
No error is logged by sshd or the kernel. Switching to Subsystem sftp internal-sftp in sshd_config fully works around the issue, which suggests a problem in the external binary (possibly its seccomp sandbox on arm64).
Bug#1150271: openssh-sftp-server: sftp-server fails silently with return code 11 on arm64 (Raspberry Pi4)
#126
Author: Colin Watson
Date: Thu, 08 Oct 2026 10:20
21 lines
3032 bytes
On Wed, Oct 07, 2026 at 08:14:15PM +0000, Jean-Luc Dalous wrote:
>Package: openssh-sftp-server
>Version: 1:10.0p2-7+deb13u4
>Severity: normal
>Architecture: arm64 (Raspberry Pi 4, Debian trixie, kernel 6.18.50+rpt-rpi-v8)
>The external sftp-server binary exits immediately with return code 11 and no output, making the sftp subsystem unusable (scp/sftp fail with "Connection closed" while interactive ssh works fine).
>Steps to reproduce:
>printf '3\n\n1\n\n' | /usr/lib/openssh/sftp-server; echo $? → rc=11, no output at all.

This isn't a valid reproducer, because that exit code is expected in 
this case due to the input not being a well-formed SSH protocol message.  
If you add the -e option, you should see something like:

   $ printf '3\n\n1\n\n' | /usr/lib/openssh/sftp-server -e
   bad message from 62.31.171.222 local user cjwatson

I assume that you derived this reproducer from something more 
complicated.  Could you go back a few steps?

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads