Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 21:16:16 -0400 (EDT)
From:      Brian Dean <bsd@bsdhome.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-arch@FreeBSD.ORG
Subject:   Re: isatty() reports false results 
Message-ID:  <Pine.BSF.4.21.0008112034030.423-100000@vger.bsdhome.com>
In-Reply-To: <200008102316.AAA29996@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Aug 2000, Brian Somers wrote:

> IMHO pppd's mucking about with ptys is evil.  This whole thing is 
> much easier to do from ppp(8), by simply using ``set device "!ssh 
> blah ppp -direct label"'', you get ppp interacting with ssh via a 
> socketpair().

Perhaps.  I haven't tried this method.  I'm a long time user of 'pppd'
and tend to stick with what I know and what I've had success with
previously.  Now that I've done a pretty close read of your man-page
for ppp, I may give this a try and see how it works out.

> Having said that, can't pppd do it by just using ``ssh -t blah'' ?

I didn't find a way to do this.  The '-t' option only instructs the
local ssh client to request that the remote sshd server allocate a pty
for the command that it spawns, but otherwise doesn't really do
anything on the local side.

Thanks for the tip on using 'set device "!foo"'.  I kind'a like that :)

You may have a convert yet!

-Brian



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008112034030.423-100000>