Non-shell accounts and scp/sftp

Christian Weisgerber naddy at
Sat Dec 9 08:30:02 AEDT 2023

Darren Tucker:

> sftp should work regardless of the user's shell since it is invoked as
> a ssh subsystem which is independent of the shell channel.
> scp is built around the assumption that the shell is involved.

Wait, that is only true for the legacy protocol, right?  Now that
scp defaults to the SFTP protocol, its limitations in this regard
should match those of sftp.

Christian "naddy" Weisgerber                          naddy at

More information about the openssh-unix-dev mailing list