SSH Tunnel for butty - (user without permissions for anything else)
Hello
I am using as root on Centos 6.6 tunneling and i am connecting to it using putty and socks on my Firefox and all working great.. Now i want to create another user to be able to use also tunnel but without any permissions for anything else in the server... Any ideas how can i do it?Any easy way for this? Can't find a Centos 6.x working tutorial :( I found only for Ubuntu....google searching... Thanks |
Quote:
Quote:
Code:
no-pty,no-agent-forwarding,no-X11-forwarding,command="/bin/false",permitopen="ipaddress:portnumber" |
Quote:
Quote:
Code:
useradd tunneluser Code:
groupadd tunnel Code:
useradd -G tunnel tunneluser Code:
id tunneluser |
Quote:
Quote:
|
The user that i create is not root as you recommend me and also the group .....
Now i need to use this: Code:
no-pty,no-agent-forwarding,no-X11-forwarding,command="/bin/false",permitopen="ipaddress:portnumber" |
All times are GMT -5. The time now is 10:46 PM. |