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 firstname.lastname@example.org' 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.