Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 17:56:43 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Lewis Thompson <purple@lewiz.net>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: sftp mount?
Message-ID:  <20031107145643.GB87381@ns2.wananchi.com>
In-Reply-To: <20031107142750.GA833@lewiz.org>
References:  <20031107142750.GA833@lewiz.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--jq0ap7NbKX2Kqbes
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Lewis Thompson <purple@lewiz.net> [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    <wash@wananchi.com>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031107145643.GB87381>