On Wed, 2002-02-20 at 00:15, nate wrote: > <quote who="Ron Johnson"> > > > > now, it _*might*_ be possible to tunnel sunrpc thru ssh. I say > > that because it is possible to tunnel the X Windows ports thru 23, > > so why not sunrpc? > > i think because sunrpc is UDP, and i don't think ssh can > tunnel UDP services. you can run NFS over TCP but its marked > experimental in linux 2.2 (not sure about 2.4) there are docs > out there on how to run NFS over SSH ..once i saw that it > required NFS over TCP i stopped. > It is most definitely possible. You would either need to use the tcp implementation in the kernel, or use the nfs-user-server. There is an article in the March 2002 issue of SysAdmin magazine on how to do it with Debian (shameless plug-- I wrote it! Ayman-- I meant to send this to this list before so you get two plugs!).
> i agree with you though, scp would be best, that or rsync over > ssh. Scp would probably fit the problem space better anyway. > NFS over UDP behind a firewall would be difficult as the rpc > services use random ports. > This is true, but can be scripted to make it easier. Also depending on what OS the server is running, you may be able to specify the ports that the rpc services run on. Also, depending on the OS, the tcp implementation may be stable (eg Sun, FreeBSD). Actually, I don't think tcp in 2.2.x is experimental anymore, it is just not particularly fast. I read on the LKML that tcp in the 2.4 series is now handled, but I haven't tried it yet. This would be in 2.4.18-pre or later. Jamie -- Email: [EMAIL PROTECTED] GPG/PGP ID: 26384A3A Fingerprint: D9FF DF4A 2D46 A353 A289 E8F5 AA75 DCBE 2638 4A3A