VPN on Mac OS X
Subject:   Why use pty-redir
Date:   2004-11-01 19:18:35
From:   went
Why use pty-redir when ppd already has a ``pty'' command line switch within it? In other words, a command along the lines of this will work and require fewer steps than the original script:

/usr/sbin/pppd pty '/usr/bin/ssh -t' local noauth proxyarp<-b>

In addtion, note the ``-t'' option used with ssh so that it knows to force a pseudo-tty allocation.

Finally, note that the ``defaultroute'' option is available and could remove even a few more steps from the original script. The other nice thing about this option is that pppd will shoulder the responsibility of deleting the route whenever pppd needs to quit.

1 to 1 of 1
  1. Why use the pty-redir hack?
    2004-11-01 19:22:08  went [View]

1 to 1 of 1