Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 09:37:37 +0000 (GMT)
From:      Mark Hughes <mh_lists@digitalspy.co.uk>
To:        <cjclark@alum.mit.edu>
Cc:        Noor Dawod <noor@comrax.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Questions about SSH tunneling
Message-ID:  <Pine.LNX.4.33.0111060933430.10893-100000@www.digitalspy.co.uk>
In-Reply-To: <20011106004228.A2494@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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