tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* NFS mount through ssh tunnel
@ 2003-02-14 15:16 Simon.Haldemann
  0 siblings, 0 replies; only message in thread
From: Simon.Haldemann @ 2003-02-14 15:16 UTC (permalink / raw)


Hi TruGurus

I want to mount a nfs directory using a ssh tunnel.

In Linux it works like this:

1: on client:
   # rcpinfo -p nfsserver 
   to get port of nfs and mount daemon

2: on client:
   # ssh -f -L 7777:nfs-server:2049 -l user nfs-server /sbin/sleep 86400

3: on client:
   # ssh -f -L 8888:nfs-server:2219 -l user nfs-server /sbin/sleep 86400

4: on client:
   # mount -t nfs -o tcp,port=7777, mountport=8888
localhost:/export-directory /mount-directory

I have no problems with steps 1 to 3 on tru64 (5.1A), but the tru64 mount
doesn't know the option mountport.
Does someone know how to mount with an unusual mountport; or any other
suggestions, how to nfs through ssh?

Thank you very much

Simon

   


simon.haldemann@bit.admin.ch
System Manager Tru64 UNIX (tru64unix@bit.admin.ch)
BZBX, Betriebszentrum Bereitstellung UNIX
Bundesamt für Informatik und Telekommunikation BIT	
Monbijoustrasse 74, CH-3003 Bern
Telefon      +41-31-325 11 16
Telefax      +41-31-325 90 30
Added interaction www.bit.admin.ch



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-14 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 15:16 NFS mount through ssh tunnel Simon.Haldemann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox