From owner-freebsd-questions Tue Dec 31 21: 4:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90E1637B401 for ; Tue, 31 Dec 2002 21:04:15 -0800 (PST) Received: from mail.hitmedia.com (mail.hitmedia.com [205.162.11.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 21D2643EA9 for ; Tue, 31 Dec 2002 21:04:15 -0800 (PST) (envelope-from bsd@hitmedia.com) Received: (qmail 11386 invoked by uid 0); 1 Jan 2003 05:04:07 -0000 Date: Tue, 31 Dec 2002 21:04:07 -0800 From: BSD baby To: freebsd-questions@freebsd.org Subject: ssh from one box behind firewall to another Message-ID: <20021231210407.A12672@mail.hitmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FreeBSD box A | | v HOME FIREWALL | | | internet | | | WORK FIREWALL | | V FreeBSD box B Can you copy files from box A to box B? Box A can SSH into Work Firewall. Work Firewall can SSH into Box B. Box B can SSH into Home Firewall. Home Firewall can SSH into Box A. So - I can SEE the files I want to copy. I can use "vi" to edit them. But don't know how to get them directly from Box A to Box B. Right now I'm using "scp" to copy them to the firewall, then to the internal machine. Is this a port forwarding kind of thing? Anyone done it? Didn't see anything like it in 'man scp' or a Google search. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message