On Fri, Jul 14, 2000 at 01:35:25AM +0100, Tony Finch wrote:
> Hmm, I was confused for a while there by your reversed patch, but I know
> where we are now :-)
yeah, sorry, i should have verified i got the polarity right.
> I had a similar problem with user-ppp over ssh talking to an sshd on
> OpenBSD. The problem turned out to be that if sshd gives you a pty then
> stdin and stdout are the same bidirectional descriptor (so ppp works)
> but if that isn't the case then sshd uses two pipes in a unidirectional
> fashion. FreeBSD's sshd (since March in -CURRENT and April in 4.x) has
> a tweaked includes.h that doesn't #define USE_PIPES, so stdin is always
> bidirectional and ppp over ssh works. If your sshd is compiled in this
> way then you shouldn't need pty-redir either (although I can't find
> the source to check that it does what I think it does).
i'm doing this one 4.0-stable, and what you are saying is that it should work.
i have not been able to get it going with openssh, without the hack.
is there some incantation of ssh i'm not aware of where i can do something
like:
ssh -h remhost --local-exec "/usr/sbin/pppd" --remote-exec "/usr/sbin/pppd"
otherwise, how do you escape using something like pty-redir?
> Thanks to Brian "ppp over ssh over httptunnel" Somers for the explanation!
i poked about awfulhak.org and don't really get the reference.
--
[ Jim Mercer [EMAIL PROTECTED] +1 416 410-5633 ]
[ Reptilian Research -- Longer Life through Colder Blood ]
[ Don't be fooled by cheap Finnish imitations; BSD is the One True Code. ]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message