Re: Setting up a userID for an SSH tunnel

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



On 19 Jan 2016 05:32, "Gordon Messmer" <gordon.messmer@xxxxxxxxx> wrote:
>
> On 01/18/2016 03:04 PM, Robert Moskowitz wrote:
>>
>> I need/desire to set up a userID for an SSH tunnel, but not allow said
user to have a login to the server.
>
>
> The user needs to be able to log in to a shell that does nothing
interactively.  You might be able to set the shell to /usr/bin/cat...

Better still a force command that discards any attempted command by the
user...

Extra points if they attempt a command and "yelling" at them ;)

I'd also use at least a chroot in case they do manage to get interactive
access.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux