git - ssh-add will not accept passphrase -


i attempting setup ssh connection github on windows 10 latest version of git windows. have created ssh key , added github on website. issue following commands in git-bash:

eval `ssh-agent` ssh-add /c/users/someone/ssh/id_rsa 

ssh-add prompts me passphrase rejects every attempt enter it, either typing or pasting it. there limitations on special characters can used passphrase, or else problem?

according ssh-keygen man page (emphasis mine)

the passphrase may empty indicate no passphrase (host keys must have empty passphrase), or may string of arbitrary length. passphrase similar password, except can phrase series of words, punctuation, numbers, whitespace, or any string of characters want. passphrases 10-30 characters long, not simple sentences or otherwise guessable (english prose has 1-2 bits of entropy per character, , provides bad passphrases), , contain mix of upper , lowercase letters, numbers, , non-alphanumeric characters.

that being said, sticking inside standard ascii character set might save trouble avoiding encoding-related quirkiness. speaking, longer password variety of character classes works better using couple of obscure characters in shorter password anyway.

also note if create passphrase on command line, need conscious of reserved characters , escape them if necessary.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -