NFS mount through SSH

  • Follow


Hi all,

Is there any doc/page that mentioning NFS mount through SSH 
under solaris NFS server?

I also need the method to establish the SSH tunnel by:
1. non-interactive mode for giving password
2. automounting
3. Solaris and Linux (OpenSuSE) NFS client.

Thanks in advance.

-- 
Johnson Chow
0
Reply Mr 5/5/2010 7:47:10 AM

Mr. Chow Wing Siu <wschow@comp.hkbu.edu.hk> wrote:
> Hi all,
> 
> Is there any doc/page that mentioning NFS mount through SSH 
> under solaris NFS server?

For NFSv4 it's easy to pipe all nfs traffic to SSH tunnel.

ssh -L2049:localhost:2049 nfsserver
mount -o vers=4 localhost:/shared/resource /mountpoint

You can also do this with nfsv3/tcp with webnfs mount.

Sami
0
Reply Sami 5/5/2010 8:27:31 AM


In article <hrr9hs$ugs$1@net44p.hkbu.edu.hk>,
Mr. Chow Wing Siu <Johnson.Chow@Comp.HKBU.Edu.HK> wrote:
>Is there any doc/page that mentioning NFS mount through SSH 
>under solaris NFS server?

<URL:http://blogs.sun.com/shepler/entry/tunneling_nfs_traffic_via_ssh>

>I also need the method to establish the SSH tunnel by:
>1. non-interactive mode for giving password

<URL:http://blogs.sun.com/jkini/entry/how_to_scp_scp_and>

>2. automounting

I use rbac(5) to perform the mount/umount but you can also
use sudo.

Happy hacking,
John
groenveld@acm.org
0
Reply groenvel 5/5/2010 1:44:39 PM

2 Replies
801 Views

(page loaded in 0.037 seconds)

Similiar Articles:













7/23/2012 2:23:48 AM


Reply: