Results 1 to 2 of 2

Thread: SSH VPN tunnel without having to enable root

  1. #1
    Join Date
    Jul 2008
    Beans
    51

    SSH VPN tunnel without having to enable root

    ive been trying to setup a VPN SSH tunnel and ive 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 acccount 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? thnx

  2. #2
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SSH VPN tunnel without having to enable root

    A process can't bind to a port under 1025 without being root. I am not sure what you mean by "without having root enabled" but you should be able to do it using sudo.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •