Re: [gentoo-user] Encrypted NFS via ssh tunelling
On Fri, 9 Sep 2005, Hans-Werner Hilse wrote: Hi, On Fri, 9 Sep 2005 09:29:18 +0200 (CEST) Patrick Marquetecken [EMAIL PROTECTED] wrote: I always get this error: mount: localhost:/usr/portage failed, reason given by server: Permission denied 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 so the SSH server will make a connection to its own external IP. It will also probably use its own external IP (not 127.0.0.1) as originating address. What IPs are allowed access by its /etc/exports ? -hwh -- Bryan Whitehead Email:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Encrypted NFS via ssh tunelling
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
[gentoo-user] Encrypted NFS via ssh tunelling
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 -- This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Encrypted NFS via ssh tunelling
Hi, On Fri, 9 Sep 2005 09:29:18 +0200 (CEST) Patrick Marquetecken [EMAIL PROTECTED] wrote: I always get this error: mount: localhost:/usr/portage failed, reason given by server: Permission denied 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 so the SSH server will make a connection to its own external IP. It will also probably use its own external IP (not 127.0.0.1) as originating address. What IPs are allowed access by its /etc/exports ? -hwh -- gentoo-user@gentoo.org mailing list