diff options
author | 2014-07-10 19:41:54 +0000 | |
---|---|---|
committer | 2014-07-10 19:41:54 +0000 | |
commit | 06233ea27125df7612a3018bd9f0f001d22e7a35 (patch) | |
tree | dddd4bfb80ce674194234473b6cc4856f9749ef2 | |
parent | 21cd5bde3b8f6377c4bd60b3600651b3c7da8ead (diff) |
Added a comment
-rw-r--r-- | doc/forum/Restricting_SSH_+_supply_key/comment_1_cac35ac1ac0b300ddfac5ffc74291bce._comment | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/Restricting_SSH_+_supply_key/comment_1_cac35ac1ac0b300ddfac5ffc74291bce._comment b/doc/forum/Restricting_SSH_+_supply_key/comment_1_cac35ac1ac0b300ddfac5ffc74291bce._comment new file mode 100644 index 000000000..edcb5307e --- /dev/null +++ b/doc/forum/Restricting_SSH_+_supply_key/comment_1_cac35ac1ac0b300ddfac5ffc74291bce._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 1" + date="2014-07-10T19:41:54Z" + content=""" +1. Yes, use [[git-annex-shell]]. + +2. The best way to do this is to use a dummy hostname in the git url for the remote. Then in .ssh/config, you can add a Host stanza that sets the real Hostname and also specifies the IdentityFile to use for that host. + +Incidentially, the git-annex webapp takes care of both of these things for you automatically when setting up a remote on a ssh server. +"""]] |