summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist:_Prevent_repeated_password_prompts_for_one_command/comment_1_3f9c0d08932c2ede61c802a91261a1f7._comment
blob: 2801d8e68f66740d46b28d9f1bf0f84e63d6355d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
 nickname="Richard"
 subject="comment 1"
 date="2011-05-06T18:30:02Z"
 content="""
Unless you are forced to use a password, you should really be using a ssh key.

    ssh-keygen
    #put local .ssh/id_?sa.pub into remote .ssh/authorized_keys (which needs to be chmod 600)
    ssh-add
    git annex whatever

"""]]