Re: SFTP &

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

 



On Wed, 25 Jun 2014, M?rk Csaba wrote:

> Match Group admin
> 
>     AllowTCPForwarding yes
> 
>     X11Forwarding yes
> 
>     ForceCommand bash
> 
>  
> Match Group sftp-only
> 
>     PasswordAuthentication yes
> 
>     AllowTCPForwarding no
> 
>     X11Forwarding no
> 
>     ForceCommand internal-sftp
> 
>
> This config works well for SFTP users ? but if a user is a member of
> both group, the SFTP client fails to connect. Obviously because of the
> ForceCommand.

"Match group sftp-only,!admin" for the second case might and removing
the "ForceCommand bash" from the first might work.
_______________________________________________
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