NFS mount through ssh tunnel

From: <Simon.Haldemann_at_BIT.admin.ch>
Date: Fri, 14 Feb 2003 16:16:35 +0100

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_at_bit.admin.ch
System Manager Tru64 UNIX (tru64unix_at_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
Received on Fri Feb 14 2003 - 15:17:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT