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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT CENTOS
tapset::nfs
tapset::nfs(3stap) tapset::nfs(3stap)
NAME
tapset::nfs - systemtap nfs tapset
DESCRIPTION
nfs.fop.llseek
NFS client llseek operation
See probe::nfs.fop.llseek(3stap)
for details.
nfs.fop.read
NFS client read operation
See probe::nfs.fop.read(3stap)
for details.
nfs.fop.write
NFS client write operation
See probe::nfs.fop.write(3stap)
for details.
nfs.fop.aio_read
NFS client aio_read file operation
See probe::nfs.fop.aio_read(3stap)
for details.
nfs.fop.aio_write
NFS client aio_write file operation
See probe::nfs.fop.aio_write(3stap)
for details.
nfs.fop.mmap
NFS client mmap operation
See probe::nfs.fop.mmap(3stap)
for details.
nfs.fop.open
NFS client file open operation
See probe::nfs.fop.open(3stap)
for details.
nfs.fop.flush
NFS client flush file operation
See probe::nfs.fop.flush(3stap)
for details.
nfs.fop.release
NFS client release page operation
See probe::nfs.fop.release(3stap)
for details.
nfs.fop.fsync
NFS client fsync operation
See probe::nfs.fop.fsync(3stap)
for details.
nfs.fop.lock
NFS client file lock operation
See probe::nfs.fop.lock(3stap)
for details.
nfs.fop.sendfile
NFS client send file operation
See probe::nfs.fop.sendfile(3stap)
for details.
nfs.fop.check_flags
NFS client checking flag operation
See probe::nfs.fop.check_flags(3stap)
for details.
nfs.aop.readpage
NFS client synchronously reading a page
See probe::nfs.aop.readpage(3stap)
for details.
nfs.aop.readpages
NFS client reading multiple pages
See probe::nfs.aop.readpages(3stap)
for details.
nfs.aop.set_page_dirty
NFS client marking page as dirty
See probe::nfs.aop.set_page_dirty(3stap)
for details.
nfs.aop.writepage
NFS client writing a mapped page to the NFS server
See probe::nfs.aop.writepage(3stap)
for details.
nfs.aop.writepages
NFS client writing several dirty pages to the NFS server
See probe::nfs.aop.writepages(3stap)
for details.
nfs.aop.write_begin
NFS client begin to write data
See probe::nfs.aop.write_begin(3stap)
for details.
nfs.aop.write_end
NFS client complete writing data
See probe::nfs.aop.write_end(3stap)
for details.
nfs.aop.release_page
NFS client releasing page
See probe::nfs.aop.release_page(3stap)
for details.
SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap),
probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap),
probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap),
probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap),
probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap),
probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfs(3stap)