Vpn-connect.sh Guest on 18th July 2020 11:29:08 AM
  1. #!/bin/sh
  2. PTYREDIRNX=/home/the-gate/vpn/pty-redir-nx
  3. VPNENDPOINT=bigvpn@fatvpnhost.worldcompany.com
  4. PTY=$($PTYREDIRNX /bin/sh -c "/usr/bin/ssh -t $VPNENDPOINT")
  5. sleep 4
  6. /usr/sbin/pppd $PTY nodetach logfd 1

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.