Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Tunneling NFS through SSH???? Post 302190339 by ImpeccableCode on Tuesday 29th of April 2008 10:41:31 AM
Old 04-29-2008
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
 

10 More Discussions You Might Find Interesting

1. Solaris

ssh tunneling

Hi, I have tried the following: on PC1 (win xp) I have created ssh connection with port forwarding (local 8888 to remote 8888) to server1. >From server1 I have created another ssh connection with port forwarding to server2(local 8888 to remote 1521). When I try to connect to oracle... (3 Replies)
Discussion started by: goran00
3 Replies

2. UNIX for Advanced & Expert Users

SSH Tunneling

Hi all question - there are 2 servers A + B. server A is connected to the internet and running a squid proxy server - server B is behind a firewall. I can ssh from A to B but not from B to A. I need internet access on B to update some files. I thought I could use some sort of ssh tunnel to... (1 Reply)
Discussion started by: silvaman
1 Replies

3. UNIX for Advanced & Expert Users

tunneling commands and file transfers through established ssh connection

Hi - I frequently run commands, and transfer files to/from a host that uses SecurID ssh authentication. It is a real pain to have to enter the authentication information every time I want to interact with this host. I am wondering if there is a way to establish a one-time ssh connection to this... (2 Replies)
Discussion started by: cpp6f
2 Replies

4. Ubuntu

ssh authoized keys nfs

Hi all I would like to do ssh from machine "ub0" to another machine "ub1" without using passwords. I setup using nfs on "ub0" but still I am asked to insert a password. Here is my scenario: * machine ub0 and ub1 have the same user "mpiu", with same pwd, same userid, and same group id * the... (0 Replies)
Discussion started by: manustone
0 Replies

5. Infrastructure Monitoring

Tunneling UDP via SSH

Performing UDP tunneling through an SSH connection Found this while looking for a way to temporarily forward SNMP requests across otherwise disconnected networks. Might be useful for someone else, too. (1 Reply)
Discussion started by: pludi
1 Replies

6. UNIX for Dummies Questions & Answers

SSH port forwarding/tunneling

So this seems like something that should be simple...but I can't quite seem to get it up and running. I have a machine, .107 with a GUI on port 8443. The problem is that I can't connect directly to .107 from my laptop. Now I have another machine, .69 that can connect to .107. So shouldn't I be able... (4 Replies)
Discussion started by: DeCoTwc
4 Replies

7. Shell Programming and Scripting

Are free public shells for ssh tunneling safe?

Is it secure to use free shells for ssh tunneling? Can the shell provider see and log the sites I visit and passwords I enter? I'm new to this thing and couldn't find info on google :o (5 Replies)
Discussion started by: rafunk
5 Replies

8. UNIX for Advanced & Expert Users

Server access for SSH Tunneling!

Hi! I came to know about SSH Tunneling to bypass the Firewall. I will have to setup a free access SSH server to tunnel data access through PUTTY or OpenSSH. The problem is that I don't know about any free access servers. So, can anyone of you guide me for that, for any type of help? (1 Reply)
Discussion started by: nixhead
1 Replies

9. UNIX for Dummies Questions & Answers

Ssh tunneling

I want to perform ssh tunnelling for which I have been using PuTTy. Config is as follows: Host IP: 172.XX.XX.111Port: 22Tunnel setting source port: 19005Destination: 172.XX.XX.40:1521After entering my user ID and password, I am able to see in my command prompt that 127.0.0.1:19005 is listening.... (1 Reply)
Discussion started by: aakashsoor
1 Replies

10. Shell Programming and Scripting

Query regarding PuTTY SSH Tunneling

I have a process running on my local server. http://dev.techx.com:6060/proct I wish to block port 6060 and expose port 7777 to the outside world. I block port 6060 and open port 7777 on the firewall. What should be the PuTTY Settings -> Connection -> SSH -> Tunnels 1. Destination ... (3 Replies)
Discussion started by: mohtashims
3 Replies
tapset::nfs_proc(3stap) 												   tapset::nfs_proc(3stap)

NAME
tapset::nfs_proc - systemtap nfs_proc tapset DESCRIPTION
nfs.proc.lookup NFS client opens/searches a file on server See probe::nfs.proc.lookup(3stap) for details. nfs.proc.read NFS client synchronously reads file from server See probe::nfs.proc.read(3stap) for details. nfs.proc.write NFS client synchronously writes file to server See probe::nfs.proc.write(3stap) for details. nfs.proc.commit NFS client committing data on server See probe::nfs.proc.commit(3stap) for details. nfs.proc.read_setup NFS client setting up a read RPC task See probe::nfs.proc.read_setup(3stap) for details. nfs.proc.read_done NFS client response to a read RPC task See probe::nfs.proc.read_done(3stap) for details. nfs.proc.write_setup NFS client setting up a write RPC task See probe::nfs.proc.write_setup(3stap) for details. nfs.proc.write_done NFS client response to a write RPC task See probe::nfs.proc.write_done(3stap) for details. nfs.proc.commit_setup NFS client setting up a commit RPC task See probe::nfs.proc.commit_setup(3stap) for details. nfs.proc.commit_done NFS client response to a commit RPC task See probe::nfs.proc.commit_done(3stap) for details. nfs.proc.open NFS client allocates file read/write context information See probe::nfs.proc.open(3stap) for details. nfs.proc.release NFS client releases file read/write context information See probe::nfs.proc.release(3stap) for details. nfs.proc.handle_exception NFS client handling an NFSv4 exception See probe::nfs.proc.handle_exception(3stap) for details. nfs.proc.create NFS client creating file on server See probe::nfs.proc.create(3stap) for details. nfs.proc.remove NFS client removes a file on server See probe::nfs.proc.remove(3stap) for details. nfs.proc.rename NFS client renames a file on server See probe::nfs.proc.rename(3stap) for details. SEE ALSO
probe::nfs.proc.lookup(3stap), probe::nfs.proc.read(3stap), probe::nfs.proc.write(3stap), probe::nfs.proc.commit(3stap), probe::nfs.proc.read_setup(3stap), probe::nfs.proc.read_done(3stap), probe::nfs.proc.write_setup(3stap), probe::nfs.proc.write_done(3stap), probe::nfs.proc.commit_setup(3stap), probe::nfs.proc.commit_done(3stap), probe::nfs.proc.open(3stap), probe::nfs.proc.release(3stap), probe::nfs.proc.handle_exception(3stap), probe::nfs.proc.create(3stap), probe::nfs.proc.remove(3stap), probe::nfs.proc.rename(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::nfs_proc(3stap)
All times are GMT -4. The time now is 02:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy