Re: Setting up a userID for an SSH tunnel

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



I think you are correct that that would create an account that George would not be able to log into.


> On Jan 18, 2016, at 5:04 PM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> 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.
> 
> For the user to set up the tunnel with:
> 
> ssh -p 1234 -L 8080:192.168.1.4:80 george@xxxxxxxxxxxxxxx
> 
> Where george would use a password instead of a stored SSH key, could george be created with:
> 
> useradd  -s /sbin/nologin -c "George" george
> 
> passwd george
> 
> 
> thanks
> 
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
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