![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SSH Tunneling | silvaman | UNIX for Advanced & Expert Users | 1 | 02-27-2007 03:57 PM |
| ssh tunneling | goran00 | SUN Solaris | 3 | 12-13-2005 08:23 AM |
| Tunneling | ErNci | UNIX for Advanced & Expert Users | 2 | 10-07-2005 07:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Tunneling NFS through SSH????
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/ ERROR: nfs mount: localhost:/home: Permission denied iV) mount -F nfs -o port=6666 <NFS Client IP or Localhost>:/home /mnt/nfs/ ERROR: 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 " Tunneling NFS through/via SSH" on Soalris 10 will be highly appreciated. --Sachin Jambhulkar |
|
|||||
|
Here's a good article on how to do it in debian, the steps should differ, but the logic should be the same, HTH.
|
|
||||
|
Hi Man,
I got succeeded in achiving the NFS tunneling via SSH. Above mentioned steps are already fine from the execution point of view on NFS Server and on NFS CLient. Some Services pertaining to thr RPC on the NFS needs to be started to make a proper RPC Channelized Communication between NFS Server and NFS Cliemt. Will keep on posting with the list of Sevices and the related RPC stuff for the same. Thanks Sachin |
|
||||
|
[Debian-Sarge] Tunneling NFS over SSH | HowtoForge - Linux Howtos and Tutorials
6.*Security and NFS Note that using ssh tunneling in this manner breaks NFS in many ways. You may want to look at ipsec instead. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|