LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NFS permission denied (https://www.linuxquestions.org/questions/linux-software-2/nfs-permission-denied-74864/)

somesh 07-22-2003 11:17 AM

NFS permission denied
 
I am trying to tunnel nfs thru ssh. I go the ports and everything set up using these commands
ssh -f -c blowfish -L 10962:my-nfsserver:2049 -l myusername my-nfs-server
ssh -f -c blowfish -L 10972:my-nfsserver:2219 -l myusername my-nfs-server

where 2049 and 2219 are the ports where the nfs server and mountd are running

i made the change in the exports file
/mt myipaddr (rw,no_root_squash)

And when i run the mount command it gives me anerror that permission denied.

Regular NFS mounting that is without ssh tunneling works fine
can any body help

:newbie:


regards,
somesh

quip 07-22-2003 03:39 PM

These might be simple questions, but they are a place to start.
1. What does your hosts.allow and hosts.deny files look like? Have they been changed as well?
2. Did you restart nfs on the server? Did you tell it to reread the exports file?

somesh 07-22-2003 03:42 PM

Yes I have changed the hosts.allow and host.deny also i have restarted the iptables, portmap and nfs several times


All times are GMT -5. The time now is 03:46 AM.