I can no longer be bothered to lug my laptop around with me anymore, and I've also recently moved all my data to an external HDD, so to work properly, I would have to carry that round with me too. I do not (yet) have a spare box that I can just turn into a full-blown server to solve my document access issues. I want to be able to access my computer from anywhere, also I don't need a gui, so this will give you access to your machine as if you had opened a terminal.
However for those who want guis, simply add the "-X" option to each ssh command, forwarding the graphical server and allowing you to launch guis from the command-line, e.g. "mintupload ~/.profile". The disadvantage of this is it's platform dependent, you need to have an X server running on your guest machine, with means either linux, or mac with the server running.
1) install the openssh-server package (you might have to reboot afterwards). AK Dave recommends securing it, but I haven't got around to following his advice yet: http://forums.linuxmint.com/viewtopic.p ... sh#p148429
2) if you're lucky enough to have a static IP, you're done: find your IP by right-clicking on the network-manager, selecting connection info. You can now login to your machine using the following command from any remote linux box (look at Putty for windows):
Code: Select all
ssh username@ip.add.re.ss
3) get an account hosted somewhere that you can ssh into. In my case I'm using my department's servers, where we get a free account.
4) setup a "reverse ssh tunnel" from your machine to the server (PORT should be a high numbered, four figures, port on the server, e.g. 1234):
Code: Select all
ssh -NR PORT:localhost:22 server_username@remote-server.com
Code: Select all
ssh server_username@remote-server.com
Code: Select all
ssh -p PORT username@localhost
EDIT: just noticed this howto for securing the ssh server: http://forums.linuxmint.com/viewtopic.php?f=42&t=19183