From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon.Haldemann@BIT.admin.ch Newsgroups: gmane.os.tru64.managers Subject: NFS mount through ssh tunnel Date: Fri, 14 Feb 2003 16:16:35 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <68E95C9E0B60AF438982B01A21EB68D638587C@AD04001EXCCN1.ad.admin.ch> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1045236720 5336 80.91.224.249 (14 Feb 2003 15:32:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2003 15:32:00 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18jhYC-0000IZ-00 for ; Fri, 14 Feb 2003 16:14:52 +0100 Original-Received: (qmail 31755 invoked by uid 5); 14 Feb 2003 15:16:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31746 invoked by uid 49493); 14 Feb 2003 15:16:59 -0000 Original-Received: from Simon.Haldemann@BIT.admin.ch by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.5/5.0):. Processed in 0.656582 secs); 14 Feb 2003 15:16:59 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 14 Feb 2003 15:16:58 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HAB00B46148V7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Feb 2003 10:16:58 -0500 (EST) Original-Received: from mag06.bb.admin.ch (fwigk1.admin.ch [193.5.216.70]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HAB00C2313V0T@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Feb 2003 10:16:45 -0500 (EST) Original-Received: from mar02.bb.admin.ch (mar02.bb.admin.ch [193.5.222.72]) by mag06.bb.admin.ch (8.11.2/8.11.2) with ESMTP id h1EFGhT18902 for ; Fri, 14 Feb 2003 16:16:43 +0100 (MET) Original-Received: from mas22.bb.admin.ch (mas22.bb.admin.ch [193.5.222.83]) by mar02.bb.admin.ch (8.11.2/8.11.2) with SMTP id h1EFGgk07481 for ; Fri, 14 Feb 2003 16:16:42 +0100 (MET) Original-Received: by ad01007exc.ad.admin.ch with Internet Mail Service (5.5.2653.19) id <1Z4V7LY7>; Fri, 14 Feb 2003 16:16:42 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3332 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3332 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=20 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=3D7777, mountport=3D8888 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 =20 simon.haldemann@bit.admin.ch System Manager Tru64 UNIX (tru64unix@bit.admin.ch) BZBX, Betriebszentrum Bereitstellung UNIX Bundesamt f=FCr Informatik und Telekommunikation BIT=09 Monbijoustrasse 74, CH-3003 Bern Telefon +41-31-325 11 16 Telefax +41-31-325 90 30 Added interaction www.bit.admin.ch