From owner-freebsd-questions Tue Nov 6 1:37:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from www.digitalspy.co.uk (np-dsl-216-12-209-2.ev1.net [216.12.209.2]) by hub.freebsd.org (Postfix) with ESMTP id 02AC937B417 for ; Tue, 6 Nov 2001 01:37:43 -0800 (PST) Received: from localhost (mh_lists@localhost) by www.digitalspy.co.uk (8.10.2/8.10.2) with ESMTP id fA69bbL15121; Tue, 6 Nov 2001 09:37:37 GMT Date: Tue, 6 Nov 2001 09:37:37 +0000 (GMT) From: Mark Hughes To: Cc: Noor Dawod , Subject: Re: Questions about SSH tunneling In-Reply-To: <20011106004228.A2494@blossom.cjclark.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 6 Nov 2001, Crist J. Clark wrote: > On Tue, Nov 06, 2001 at 07:56:25AM +0200, Noor Dawod wrote: > > Hmmm, thanks Mark... > > > > Let's refine my previous question: how do you FTP to another machine > > using SSH-tunnelled connection? > > Due to the way FTP works, sending the data over a completely separate > TCP connection which uses "arbitrary" ports, it would be extremely > difficult. Yup.. you'd need to do some sort of VPNing with maybe PPP over SSH to do it, which is a complete overkill for what you need. However, if you want to look, take a peak at this pretty cool webpage about doing it - I've just done it myself to set up a temporary VPN and it works very well. http://unix.za.net/gateway/documentation/networking/vpn/fbsd.html As I said, this would be a total overkill just for transfering files... I'd use SCP or SFTP and restrict logins either by using public-key logins and restricting their access by putting extra options in the authorized_keys/authorized_keys2 files, or by using normal password logins and setting the users shells to /nonexistant. HTH, Mark -- Mark Hughes - DVD & Film Content Manager, Technical Officer Digital Spy Ltd http://www.digitalspy.co.uk/ Your number one source for digital media and entertainment news! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message