diff options
Diffstat (limited to 'doc/tips/Decentralized_repository_behind_a_Firewall.mdwn')
-rw-r--r-- | doc/tips/Decentralized_repository_behind_a_Firewall.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn b/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn index 5dbc8d71a..1c99070d9 100644 --- a/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn +++ b/doc/tips/Decentralized_repository_behind_a_Firewall.mdwn @@ -10,14 +10,14 @@ First, install *openssh-server* on your *on-the-go* computer Then, log into your *home* computer, with *port forwarding*: - ssh me@myhome.no-ip.org L 2201:localhost:22 + ssh me@myhome.no-ip.org -R 2201:localhost:22 Your *home* computer can now ssh into your *on-the-go* computer, as long as you keep the above shell running. You can now add your *on-the-go* computer as a remote on your *home* computer. Use the port forwarding shell you just connected with the command above, if you like. ssh-keygen -t rsa - ssh-copy-id me@localhost -p 2201 + ssh-copy-id "me@localhost -p 2201" cd ~/annex git annex remote add on-the-go ssh://me@localhost:2201/home/myuser/annex |