diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U <Carlo@web> | 2012-11-30 14:54:10 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-11-30 14:54:10 +0000 |
commit | 2ee99d359bd67254a75a9cbedf24525e6786eb2d (patch) | |
tree | 63f0498a8f1f010900cbd6529dd7603e2427ce93 /doc/tips | |
parent | 647e67fa843db32558849b6802ef95a61ab92a80 (diff) |
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/Decentralized_repository_behind_a_Firewall.mdwn | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn b/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn index 471a08c58..43c8a5006 100644 --- a/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn +++ b/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn @@ -1,4 +1,4 @@ -If you're anything like me, you have a copy of your annex on a computer running at home¹, set up so you can access it from anywhere like this: +If you're anything like me¹, you have a copy of your annex on a computer running at home², set up so you can access it from anywhere like this: ssh myhome.no-ip.org @@ -21,7 +21,7 @@ You can now add your *on-the-go* computer as a remote on your *home* computer. U cd ~/annex git annex remote add on-the-go ssh://localhost:2201/home/myuser/annex -Now you can run normal annex operations, as long as the port forwarding shell is running². +Now you can run normal annex operations, as long as the port forwarding shell is running³. git annex sync git annex get on-the-go some/big/file @@ -51,6 +51,8 @@ In any case, the setup is much, much, much more secure than Dropbox. With Dropbo * A truly huge amount of eyes connected to incredibly smart brains have looked at openssh and found it secure. Everybody trusts openssh. With dropbox, there is, well, dropbox. Whoever that is. ----- -¹ My always-on computer at home is a raspberry pi with a 32GB USB stick. Best self-hosted dropbox you could imagine. +¹ Me=Carlo, not Joey. Just noting so this you can direct potential flames at the correct person. -² You can just forward the port, but not open a shell, by adding the -N command. This could be useful for connecting on startup, e.g. in /etc/rc.local. I prefer to open the shell to forward the ports, maybe use it, and close it to stop it. +² My always-on computer at home is a raspberry pi with a 32GB USB stick. Best self-hosted dropbox you could imagine. + +³ You can just forward the port, but not open a shell, by adding the -N command. This could be useful for connecting on startup, e.g. in /etc/rc.local. I prefer to open the shell to forward the ports, maybe use it, and close it to stop it. |