From: Simon.Haldemann@BIT.admin.ch
Subject: NFS mount through ssh tunnel
Date: Fri, 14 Feb 2003 16:16:35 +0100 [thread overview]
Message-ID: <68E95C9E0B60AF438982B01A21EB68D638587C@AD04001EXCCN1.ad.admin.ch> (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
reply other threads:[~2003-02-14 15:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox