Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Possible to access VPS through MyComputer?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
djtriptoy



Joined: 30 Dec 2007
Posts: 26

Posted: Sun Dec 30, 2007 2:30 pm    Post subject: Possible to access VPS through MyComputer?  

Hello Everyone,

I am running Linode Debian 4.0

Would it be possible to "map" to my VPS through Microsoft Windows or a Linux workstation? I would imagine this could be done by creating a VPN to my VPS.

If so, what steps would I have to take to accomplish this and what risks would I be taking?

Please keep in mind I am by no means a Linux expert.
Back to top  
mwalling



Joined: 10 Dec 2007
Posts: 114

Posted: Sun Dec 30, 2007 2:37 pm    Post subject:  

if you were using a linux desktop, you could use SSHFS, which is part of the Fuse project <http://fuse.sourceforge.net/sshfs.html>, and wouldn't require anything extra on your linode (it would require fuse and sshfs on your desktop).
Back to top  
djtriptoy



Joined: 30 Dec 2007
Posts: 26

Posted: Sun Dec 30, 2007 2:42 pm    Post subject: Cool  

Very interesting. I'll set that up on my Linux workstation immediately. Anyone else know how to do something like this on XP for my M$ workstations?
Back to top  
OverlordQ



Joined: 04 Jun 2004
Posts: 199

Posted: Sun Dec 30, 2007 8:34 pm    Post subject:  

SFTPDrive: http://www.sftpdrive.com/
Back to top  
djtriptoy



Joined: 30 Dec 2007
Posts: 26

Posted: Sun Dec 30, 2007 8:44 pm    Post subject:  

OverlordQ,

Now that is what I am talking about. Great resource, thanks!
Back to top  
Deckert



Joined: 24 Mar 2007
Posts: 42
Location: South Africa

Posted: Mon Dec 31, 2007 6:26 pm    Post subject:  

Or just use WinSCP: http://www.winscp.org

--deckert
Back to top  
bernied



Joined: 14 Apr 2007
Posts: 14

Posted: Tue Jan 01, 2008 8:17 am    Post subject:  

OverlordQ wrote: SFTPDrive: http://www.sftpdrive.com/ Anyone know of a free alternative to this? I use WinSCP at the moment, but it doesn't map drives (so it's an extra couple of clicks and a different kind of window).
Back to top  
vca



Joined: 25 Sep 2007
Posts: 17

Posted: Tue Jan 01, 2008 1:14 pm    Post subject: consider a distributed revision control system  

This may not address your particular needs but it might be worth considering.

I have been using Mercurial (a distributed revision control system) to:

1. backup user-entered data on my linode to my home PC

2. allow for revision control on system configuration files on the linode

3. allow for revision control on various programs I am developing on my linode and allow for simultaneous development and merging with versions of these that I am working with on my PC at home.

what I do is to place a directory tree under mercurial for revision control on the linode and add the files into revision control that I want to track with commands like:

hg init dirname
cd dirname
hg add filenames
hg commit -m "some message"

then on my PC I can clone the data from the linode with a command like:

hg clone ssh://username@linode.ip.address//full/dir/path/dirname

You only need to do the clone once to get the initial copy happening. Once the clone is done you can modify, add, delete files on either your PC or your linode and then on the PC you can:

hg pull

to "pull" changes that have been commited on the linode into the PC's copy, and:

hg push

to "push" changes that have been made and committed on the PC back to the linode.

All of the communications happen over SSH (on the PC mercurial will use putty to do the actual SSH stuff). And if you make changes to the same files in both places mercurial (i.e. hg) will provide you with a merge tool to help sort out any conflicts.

If you only make changes at one end (such as user entry of data into a web site on your linode) then you will never hit a change conflict and you can just keep "hg pull" ing the data back to your PC to back it up.

In theory, if you ever need to blow away your linode and reinstall it, the process of restoring all this data should be pretty straight forward, just do a set of "hg clone" commands on your PC (where the backups are) and set the target as being the directory on your linode you want to recreate.

See http://www.selenic.com/mercurial/wiki/ for more information on Mercurial, to get this installed on your debian linode its just:

apt-get install mercurial

The installation of mercurial on the PC is pretty easy too.


Regards,

Stephen
Back to top  
djtriptoy



Joined: 30 Dec 2007
Posts: 26

Posted: Tue Jan 01, 2008 1:17 pm    Post subject:  

Interesting method.
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1