Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-27-2007, 05:47 PM   #1
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


this command is accepted:

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

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

but this command is accepted:

mount -t nfs /mymnt -o tcp

Last edited by jwr; 02-27-2007 at 08:07 PM.
Old 02-27-2007, 07:59 PM   #2
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.

"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 08:12 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:07 AM
ACLs through NFS in Fedora Core 3 grimpy Linux - Networking 1 11-10-2005 01:41 AM
Fedora Core 1 SSH Pause Mike-BB Linux - Software 2 12-15-2004 06:56 PM
NFS crashing Fedora Core 2 server reelwylde Linux - Networking 3 12-03-2004 03:04 PM
Fedora Core 2 and NIS/NFS Rekna Linux - Software 1 06-27-2004 02:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 AM.

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