1 |
On Fri, 9 Sep 2005, Patrick Marquetecken wrote: |
2 |
|
3 |
> Hi, |
4 |
> |
5 |
> I can do a nfs mount, but for security i would like to do it over ssh. |
6 |
> I always get this error: |
7 |
> mount: localhost:/usr/portage failed, reason given by server: Permission |
8 |
> denied |
9 |
> without the ssh tunnel i have no problems. |
10 |
> There are no firewall between the two machines, ssh between both goes fine. |
11 |
> My setup: |
12 |
> Attach NFS port of Server (2049) to local port 2818 |
13 |
> ssh -f -L 2818:10.32.3.172:2049 -l root 10.32.3.172 sleep 86400 |
14 |
> |
15 |
> Attach mountD port of Server (675) to local port 3818 |
16 |
> ssh -f -L 3818:10.32.3.172:675 -l root 10.32.3.172 sleep 86400 |
17 |
> |
18 |
> Mount |
19 |
> mount -t nfs -o tcp,port=2818,mountport=3818 localhost:/usr/portage |
20 |
> /usr/portage |
21 |
> |
22 |
> ps -ef |
23 |
> root 9165 1 0 10:22 ? 00:00:00 ssh -f -L |
24 |
> 2818:10.32.3.172:2049 -l root 10.32.3.172 |
25 |
> root 9173 1 0 10:23 ? 00:00:00 ssh -f -L |
26 |
> 3818:10.32.3.172:675 -l root 10.32.3.172 |
27 |
> |
28 |
> whats wrong here ? |
29 |
> |
30 |
> TIA |
31 |
> Patrick |
32 |
> |
33 |
|
34 |
-- |
35 |
Bryan Whitehead |
36 |
Email:driver@×××××××××.net |
37 |
-- |
38 |
gentoo-user@g.o mailing list |