Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2942  / 2 Years ago, tue, november 8, 2022, 11:13:21

I have a work computer which is running Ubuntu 12.04 and I'm wondering what method is best for me to be able to view it's files from home. I will be accessing the files at my workplace through a VPN so firewall issues are not a problem in this case.



I would like to be able to have it appear as though I have all my works computers files, but at home. I need to do some development using IDE's from home and it is essential that I am able to navigate to the directory for the sake of the IDE.



I've heard of Samba shares. Is this a good choice, or are there better options out there? If Samba share suits what I want to do I thought the following guide on the Ubuntu Forums would be ideal:



http://ubuntuforums.org/showthread.php?t=288534



Edit: Home computer will be using Ubuntu 12.04 as well and the VPN aspect of this is already setup and working. This is a matter of how the sharing should be done.


More From » mount

 Answers
7

I suppose sshfs is a good idea. I use it often for a secure / encrypted link to my NAS server when I am at the workplace, for various stuff, including listening to music stored on the remote server.



sudo apt-get install sshfs for the client side should be just enough. For the server side you might go with the default setup of openssh-server (or change most stuff, whatever works for you).



Basically, you just mount a remote dir in local dir, just as with mount command.



sshfs user@server:/remote/dir /local/dir [-p non_standard_port]


As it is a user-controlled mount, unmount it with fusermount -u /local/dir.



It is secure and simple. You may set up /etc/fstab with sshfs too.



Some more info in here.


[#29765] Tuesday, November 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hamostic

Total Points: 403
Total Questions: 142
Total Answers: 112

Location: Iceland
Member since Sat, Sep 17, 2022
2 Years ago
;