From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 06:56:48 2003 Return-Path: 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 BA5A416A4CE for ; Fri, 7 Nov 2003 06:56:48 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 589CF43F3F for ; Fri, 7 Nov 2003 06:56:47 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.24 #1 (FreeBSD 4.9)) id 1AI82V-000OPY-45 by authid ; Fri, 07 Nov 2003 17:56:43 +0300 Date: Fri, 7 Nov 2003 17:56:43 +0300 From: Odhiambo Washington To: Lewis Thompson Message-ID: <20031107145643.GB87381@ns2.wananchi.com> References: <20031107142750.GA833@lewiz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <20031107142750.GA833@lewiz.org> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.4i (2003-03-19) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 5:52PM up 3 days, 41 mins, 3 users, load averages: 1.37, 1.78, 2.19 User-Agent: Mutt/1.5.4i cc: FreeBSD-questions Subject: Re: sftp mount? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 14:56:48 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Lewis Thompson [20031107 17:28]: wrote: > Hi, >=20 > I'm wondering if there might be any way to mount an sftp ``filesystem''? > At my university everything is firewalled and the only way I can > transfer files to/from my account is to use sftp -- but that gets quite > painful after a while. What do you mean by quite painful? sftp should be very easy to use, as it uses the underlying ssh. All you have to do is automate the "ftp" process. You can do this via a script run via your personal cron Tell us what you want to achieve and well chip in with good ideas. > I was wondering if anybody knew a way I might achieve what could > essentially be described as mounting an sftp ``export''? Maybe I could > specify an argument that sets the logical root? >=20 > So: >=20 > mount_sftp --root=3D/home/lewiz foo.bar.com /remote_home Hmm, with that security level, I wonder how they will handle NFS. Basically you have to ask the folks administering your systems if they allow NFS and I doubt it already. > would provide /home/lewiz on foo.bar.com at /remote_host? Is this > possible in any way at all? It is, as above. > Or can anybody suggest any other way I might achieve something similar? > Bear in mind I am actually restricted to sftp/ssh. Forget your ideas. Tell us what it is that you want to be doing. -Wash http://www.netmeister.org/news/learn2quote.html -- |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 + Everyone can be taught to sculpt: Michelangelo would have had to be taught how ___=08=08=08not to. So it is with the great programmers. --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/q7Krn7LIsuxjem8RAiQGAKCgkYugsyEtBwPPTJEDxHXdFcT1HwCgi47g Gk2rIv/wDC/dqrgQiMxvCH0= =OQ2W -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--