LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2007, 04:47 PM   #1
jwr
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
NFS over SSH Fedora core 1


I cannot get "mount -t nfs .....etc" to accept port numbers

eg

this command is accepted:

ssh -f -i /root/.ssh/id_rsa -L 4001:192.168.1.72:2049 -L 4002:192.168.1.72:10004 192.168.1.72 sleep 60m

this command is rejected:
mount -t nfs 192.168.1.72:/mypub /mymnt -o tcp,port=4001,mountport=4002

but this command is accepted:

mount -t nfs 192.168.1.72:/mypub /mymnt -o tcp

Last edited by jwr; 02-27-2007 at 07:07 PM.
 
Old 02-27-2007, 06:59 PM   #2
jwr
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
[QUOTE=jwr]I cannot get "mount -t nfs .....etc" to accept port numbers

This page has given me some more ideas.

http://www.samag.com/documents/s=407...d/sam0203d.htm

excerpt
"Because of the way ssh handles forwarded connections (tunneling), the /etc/exports file must be created or modified to export the NFS shares to itself, but not to the localhost."

Last edited by jwr; 02-27-2007 at 07:12 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to nfs share on fedora core 4 Infernal211283 Linux - Networking 1 12-12-2005 07:07 AM
ACLs through NFS in Fedora Core 3 grimpy Linux - Networking 1 11-10-2005 12:41 AM
Fedora Core 1 SSH Pause Mike-BB Linux - Software 2 12-15-2004 05:56 PM
NFS crashing Fedora Core 2 server reelwylde Linux - Networking 3 12-03-2004 02:04 PM
Fedora Core 2 and NIS/NFS Rekna Linux - Software 1 06-27-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration