From owner-freebsd-questions Mon Jun 21 9:56:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hplms26.hpl.hp.com (hplms26.hpl.hp.com [15.255.168.31]) by hub.freebsd.org (Postfix) with ESMTP id 8A17514A14 for ; Mon, 21 Jun 1999 09:56:08 -0700 (PDT) (envelope-from brian_zhou@usa.net) Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by hplms26.hpl.hp.com (8.9.1a/HPL-PA Relay) with ESMTP id JAA12069; Mon, 21 Jun 1999 09:56:07 -0700 (PDT) Received: from hplzhou (hplabs.hpl.hp.com [15.255.176.47]) by hplms2.hpl.hp.com (8.8.6/8.8.6 HPLabs Hub) with SMTP id JAA16543; Mon, 21 Jun 1999 09:56:06 -0700 (PDT) Message-ID: <004f01bebc06$76c76fc0$ce89090f@hpl.hp.com> From: "Brian Zhou" To: "Brian Somers" Cc: References: <199906181646.RAA20529@keep.lan.Awfulhak.org> Subject: Re: ssh connection => network connection Date: Mon, 21 Jun 1999 09:52:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > If thru a firewall I can remote login from inside-host to outside-host via > > socksified ssh, can I somehow turn that connection into a network > > connection? My goal is to be able to ping outside-host from inside-host. > > How? The inside-host is FreeBSD/Linux and outside-host is HP-UX. > > > > Options such as using socksified application are not feasible since the > > firewall only allow ssh traffic to a particular outside-host. > > If you've got access to an outside machine you can use ppp(8) to > tunnel through the firewall using something like > > set device "!ssh myexternalmachine /usr/sbin/ppp -direct in" > Will that work if each time I need to type a different password for ssh (securID)? Or do you know a way around? I dual boot FreeBSD/Linux, I couldn't figure out an easy way in Linux to pty-redir the tty if I have to type in password first, unless I write an expect chat script. I guess this is quite common practice in establishing PPP connection. Thanks, -Brian Zhou To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message