Non-shell accounts and scp/sftp

Philip Prindeville philipp_subx at
Wed Dec 13 09:01:31 AEDT 2023

> On Dec 12, 2023, at 2:19 PM, Damien Miller <djm at> wrote:
> On Tue, 12 Dec 2023, Philip Prindeville wrote:
>> debug2: subsystem request for sftp by user pprindeville2
>> debug1: subsystem: cannot stat sftp-internal: No such file or directory
>> debug1: subsystem: exec() sftp-internal
>> Starting session: subsystem 'sftp' for pprindeville2 from port 47762 id 0
>> debug3: mm_audit_run_command entering command sftp-internal
> I gave you incorrect advice, it's not "sftp-internal" but "internal-sftp"

That's on me, because I had read sshd_config(5) and seen mention of it, so it should have registered....

But it works with that change in place, and the client-side doing `scp -s ...`

More information about the openssh-unix-dev mailing list