Re: [CentOS] Setting up a userID for an SSH tunnel

2016-01-19 Thread Robert Moskowitz
On 01/19/2016 02:16 AM, James Hogarth wrote: On 19 Jan 2016 05:32, "Gordon Messmer" 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 sh

Re: [CentOS] Setting up a userID for an SSH tunnel

2016-01-18 Thread James Hogarth
On 19 Jan 2016 05:32, "Gordon Messmer" 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.

Re: [CentOS] Setting up a userID for an SSH tunnel

2016-01-18 Thread Gordon Messmer
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... __

Re: [CentOS] Setting up a userID for an SSH tunnel

2016-01-18 Thread andrew rotramel
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 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

[CentOS] Setting up a userID for an SSH tunnel

2016-01-18 Thread Robert Moskowitz
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 geo...@gateway.foo.com Where george would use a password instead of a stored SSH key, could george be created w