Click here to download version 0.7.5 of reachme. (Click here for the “light” version)
Click here to download version 0.7.5 of reachthem.
reachme and reachthem are two python programs which simplify the operation of logging in to a remote machine without a public address.
Notice that in order to do so, a machine with public address is needed.
So here are the ingredients:
If this sounds complicated, think to it as “LogMeIn except that you, not LogMeIn, provide B”.
And this is how you use it:
There is nothing very new or complicated in this: it just uses SSH port forwarding, a classic (and pretty safe) tool. reachme and reachthem make the process just a bit simpler, in particular if the user of A is technically not very sophisticated.
{'IP': 'example.com', 'uname': 'piero', 'port': '1333', 'check_every': '30'}
Download the above packages for Ubuntu/Debian, or clone the git repo:
git clone https://gitlab.com/pbat/reachme.git
(both reachme and reachthem can be ran from the repo, without installing them).
In order to reach a server at any time, you will presumably want to add a crontab line (with crontab -e) such as
*/10 * * * * reachme --daemon
Currently, probably screen access. Terminal, filesystem access and port forwarding should work.