On Fri, 9 Sep 2005, Patrick Marquetecken wrote:

Hi,

I can do a nfs mount, but for security i would like to do it over ssh.
I always get this error:
mount: localhost:/usr/portage failed, reason given by server: Permission
denied
without the ssh tunnel i have no problems.
There are no firewall between the two machines, ssh between both goes fine.
My setup:
Attach NFS port of Server (2049) to local port 2818
ssh -f -L 2818:10.32.3.172:2049 -l root 10.32.3.172 sleep 86400

Attach mountD port of Server (675) to local port 3818
ssh -f -L 3818:10.32.3.172:675 -l root 10.32.3.172 sleep 86400

Mount
mount -t nfs -o tcp,port=2818,mountport=3818 localhost:/usr/portage
/usr/portage

ps -ef
root      9165     1  0 10:22 ?        00:00:00 ssh -f -L
2818:10.32.3.172:2049 -l root 10.32.3.172
root      9173     1  0 10:23 ?        00:00:00 ssh -f -L
3818:10.32.3.172:675 -l root 10.32.3.172

whats wrong here ?

TIA
Patrick


--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list

Reply via email to