I've been trying to setup a VPN SSH tunnel and I've had success executing
ssh -Nv -w 0:0 root@192.168.2.2 -p 50
However, what I am wondering is, can I do the tunneling without having root unlocked?
When I try
ssh -Nv -w 0:0 $username@192.168.2.2 -p 50
and have root account disabled while $username
is set in sudoers, I get an administratively prohibited.
So my question is, can I do the tunnel without having root enabled?