Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to provide to an application data in folder but this folder is on remote server.

I know I can use NFS or SAMBA but I'm not a sysadmin, and I just know how to set up such mount point, as a client as well.

Is there any easy set up to "share" one folder and mount it remotly ?

share|improve this question

3 Answers 3

you can use the net share command to share the folder e.g. "NET SHARE MyShare=c:\shared-folder"

then on your other mahchine use the command net use e.g. "NET USE Z: \SERVERNAME\MyShare"

There are options such as /GRANT you can use on the net share command to set up permissions and /PERSISTENT on the net use command to keep the share set up between reboots

share|improve this answer
    
Hi, thank you for your answer, my apologies however, I need it on debian/linux machines –  JohnT May 10 '11 at 18:44

You can mount the remote directory with SSH. Places menu -> Connect to server -> select SSH and give the info needed (remote machine, user used to access the directory on the remote machine and password).

share|improve this answer

One tool that you can try is sshfs (you can use this from the command line without needing a GUI). You do not need to do any setup on the server side. Connecting from the client is as simple as:

sshfs server.example.com:/path/to/source/ /path/to/dest/mount/
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.