0

I have a machine running Ubuntu 10.04. I have a VPS (virtual private server) also running Ubuntu Linux. The VPS has a dedicated IP.

I want to have a setup, so that the directories on the VPS are accessible on my HOME PC like a mounted drive.

That is I should be able to do things like edit files on the VPS and copy/move files from/to my home PC to the VPS, as if the VPS was mounted on my box.

How do I do it?

2 Answers 2

0

Connect to the server via Places | Connect to Server..., then the remote server will be accessible via ~/.gvfs.

3
  • nice! that was simple... its a bit too slow (much slower than normal ssh...any way to speed up?).
    – cool
    Apr 9, 2011 at 5:10
  • @cool: You can try sshfs, which allows you to mount an SSH server from the command line as if it were a local disk. I'm not sure that it will be any faster, though. Just run sudo apt-get install sshfs or locate it in Synaptic or the Software Center to install it. There are instructions for using it on the FUSE website.
    – Patches
    Apr 9, 2011 at 6:41
  • @cool, @Patches: FYI, if you choose "SSH" in the "Connect to Server" dialog, then it will use exactly the same SFTP protocol as sshfs uses. Apr 10, 2011 at 9:24
0

You could do it via NFS (a guide). Basically, you add the directories to /etc/exports on the server, along with the options and the IP address of your home PC, then you can add the remote shares to your /etc/fstab.

edit: I should add that this works well with a VPN. If you just want to connect to the server and copy files, you can just use sftp as Ignacio Vazquez-Abrams mentioned.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .