From owner-freebsd-questions Tue Mar 21 18:49:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 4D2A537BA93 for ; Tue, 21 Mar 2000 18:49:36 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt6-216-180-6-186.dialup.HiWAAY.net [216.180.6.186]) by mail.HiWAAY.net (8.9.3/8.9.0) with ESMTP id UAA32166; Tue, 21 Mar 2000 20:49:33 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id UAA81269; Tue, 21 Mar 2000 20:49:31 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <200003220249.UAA81269@nospam.hiwaay.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: jfreeze@qx.net Cc: questions@FreeBSD.ORG From: David Kelly Subject: Re: Can I mount a remote file system thru PPP? In-reply-to: Message from jfreeze@qx.net of "Tue, 21 Mar 2000 09:27:32 EST." <77361172A2B.AAA69BD@mail2.qx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Mar 2000 20:49:31 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jfreeze@qx.net writes: > Please pardon me if this is a silly or stupid question. The only really stupid questions are the ones people don't ask. > My question is how do I mount a remote file system > when I am connecting through a modem dialup. Same way you would between two systems connected via ethernet. The data goes by IP address not by interface. NFS over a modem isn't a lot of fun once one quits laughing over the novelty after doing it the first time. The problem is your remote server (the ISP's web server) has to export the filesystem before you can mount it. Such a configuration is simply asking for script kiddies to wreck havoc with their server(s). You don't really want to mount their filesystem, do you? You plan on keeping a local copy as a backup? The only quasi-interesting thing mounting their filesystem would do would be to let you fire up vi on the remote copy of your web pages without making a local copy. If you use Netscape Communicator as the html editor then you can open the page via http into the editor, edit, and write it back via http. Its likely your ISP has ssh on their FreeBSD servers. Ssh provides replacements for the "R" family of standard Unix utilities, in this case rcp (remote copy) comes to mind. Install /usr/ports/security/openssh and read the manpages. I'm a little rusty on the ssh version of rcp, or whether its a wrapper for rcp thru ssh, or what. Use of rcp used to require you rig your account on the far end to accept R-commands without password challenge, an obvious security problem, that I'm hoping ssh addresses. Then all you have to do is: % rcp localfile.html server:/public_html/remotefile.html -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message