Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NFSv3 SSH Tunneling on Soalris 10

807557Apr 29 2008 — edited May 15 2008
Hello Folks,

Im trying to pass the NFS Shared data through the SSH tunnel. Following are the Steps for my Executions:
A) Commands Executed on Server (NFS Server + SSHD Server running)
i) share -F nfs -o rw=<NFS Server IP> /home
ii) Start the NFS Server Services and SSHD Services.

B)Commands Executed on NFS Client (For mounting the NFS Server Share)
-- Creation of SSH Tunnel first:
i) ssh -fNg -L "5555:<NFS Server IP>:2049" <NFS Server IP> -l <UserName>
Port No . 2049 got from"rpcinfo -p <NFS Server IP>" -- nfs
ii)ssh -fNg -L "6666:<NFS Server IP>:30458" <NFS Server IP> -l <UserName>
Port No . 30458 got from"rpcinfo -p <NFS Server IP>" -- mountd

iii) mount -F nfs -o port=5555 <NFS Client IP or Localhost>:/home /mnt/nfs/
{color:#ff0000}ERROR:{color} nfs mount: localhost:/home: Permission denied
iV) mount -F nfs -o port=6666 <NFS Client IP or Localhost>:/home /mnt/nfs/
{color:#ff0000}ERROR:{color} nfs mount: localhost:/home: Permission denied

Folks, how can i resolve the error occuring at above two steps iii) and iv)...

Any Suggestions in this regard...especially any pointers to proceed on the topic of " {color:#0000ff}*Tunneling NFS through/via SSH" on Soalris 10*
{color}will be highly appreciated.

--Sachin Jambhulkar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2008
Added on Apr 29 2008
5 comments
490 views