View previous topic :: View next topic |
Author |
Message |
keifir Tux's lil' helper
Joined: 10 Jun 2002 Posts: 119 Location: Canada
|
Posted: Sat Jan 25, 2003 11:44 pm Post subject: Remote file access -> integrate into local dir tree |
|
|
Hi,
srry if this is a dup/ignorant - but i have no idea if such a thing is possible.
Here's what i want to do: i have a school Unix account that i normally access thru ssh/sftp.
I'd like the account to be a part of my local dir structure, e.g.: Code: | /home/uid/school_stuff |
So that i can edit it locally with vim and when i want to save it will write to remote account.
Right now i can edit files remotely, but there's quite a bit of latency - so it becomes unbearable. Ideally i'd like to setup vim .swp files to be stored locally too - but that's another question.
So, is this smthg that's possible to do - and what is it called anyway?
thx,
keifir |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Sun Jan 26, 2003 2:58 am Post subject: |
|
|
You could setup a cron job to update your files locally and then update the files on the server also.
Chris |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sun Jan 26, 2003 10:19 am Post subject: |
|
|
First: export the necessary directories on the server with NFS. Then setup a VPN between your client and the server, and mount that exported directory in your clients filesystem.
The VPN-part is necessary for security-reasons. |
|
Back to top |
|
|
keifir Tux's lil' helper
Joined: 10 Jun 2002 Posts: 119 Location: Canada
|
Posted: Sun Jan 26, 2003 3:01 pm Post subject: |
|
|
thx for your replies guys,
the cron job looks like a simple solution - so i'll use it for now. Gonna read up on NFS - at least i know what to look for, thx.
keifir |
|
Back to top |
|
|
|