Re: Non-shell accounts and scp/sftp

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 8 Dec 2023, Darren Tucker wrote:

> On Fri, 8 Dec 2023 at 07:39, Philip Prindeville
> <philipp_subx@xxxxxxxxxxxxxxxxxxxxx> wrote:
> [...]
> > Problem is that if their default shell isn't sh, ash, dash, bash, zsh, etc. then things break.
> > Is there a workaround to allow scp/sftp to continue to work even for non-shell accounts?
> 
> sftp should work regardless of the user's shell since it is invoked as
> a ssh subsystem which is independent of the shell channel.

I'm pretty sure sshd executes subsystems using the user's configured
shell.

You should be able to use "Subsystem sftp internal-sftp" to skip the
shell though.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux