SSH Key - Still asking for password and passphrase

后端 未结 30 1434
孤街浪徒
孤街浪徒 2020-11-27 08:35

I\'ve been somewhat \'putting up\' with Github always asking for my username and password when I clone a repository. I want to bypass this step because it is an annoyance w

30条回答
  •  盖世英雄少女心
    2020-11-27 09:13

    You can remove passphrase for the key

    $ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]
    

    or you can run

    $ ssh-keygen -p
    

    you get a prompt for keyfile. By default it ~/.ssh/id_rsa so press enter

    You'll be prompted for current pass phrase enter it.

    Then there will be a prompt for new pass phrase, press enter

提交回复
热议问题