Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remote file access -> integrate into local dir tree
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
keifir
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 119
Location: Canada

PostPosted: Sat Jan 25, 2003 11:44 pm    Post subject: Remote file access -> integrate into local dir tree Reply with quote

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
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sun Jan 26, 2003 2:58 am    Post subject: Reply with quote

You could setup a cron job to update your files locally and then update the files on the server also.

Chris
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Sun Jan 26, 2003 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
keifir
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 119
Location: Canada

PostPosted: Sun Jan 26, 2003 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum