Mounting a remote Linux File System

Chris Jones jonesc at hep.phy.cam.ac.uk
Fri Jun 15 13:43:29 UTC 2007


Steve Searle wrote:
> Around 01:17pm on Friday, June 15, 2007 (UK time), Matthew Benjamin scrawled:
> 
>> What is the best way to mount a remote network share on a local Linux server
>> (FC3) from a remote Linux (FC3) server.  Say 14.1.2.12 is my local server
>> and I want to mount a remote share /mnt/backup_share onto it from the remote
>> server 11.8.14.21.  What is the mount command to do it. (These are not real
>> IPs.)
> 
> mount -t nfs 11.8.14.21://mnt/backup_share /some/local/directory/name
> 
> Make sure they remote server is running NFS, and its firewall allows
> remote access.

NFS isn't secure at all. If your connection is going via the wild, and 
not isolated to a local network I really would not recommend NFS.

A better way would be to use fuse-sshfs

http://fuse.sourceforge.net/sshfs.html

Available from all good Fedora 'yum install fuse-sshfs'

This doesn't place any requirements on the remote or local machines, 
other than an SSH connection can be established.

syntax is something like

  > sshfs username at remotehost:/remote/path/to/mount /local/mount/point

cheers Chris




More information about the fedora-list mailing list