I am attempting to setup a SSH connection to github on Windows 10 with the latest version of git for windows. I have created the ssh key and added it to github on their website. I then issue the following commands in git-bash:
eval `ssh-agent`
ssh-add /C/Users/someone/ssh/id_rsa
ssh-add prompts me for the passphrase but rejects every attempt to enter it, either by typing it or by pasting it. Are there any limitations on special characters that can be used for the passphrase, or is something else the problem?
According to the ssh-keygen man page (emphasis mine)
That being said, sticking inside the standard ASCII character set might save you some trouble by avoiding any encoding-related quirkiness. Generally speaking, a longer password with a variety of character classes works better than using a couple of obscure characters in a shorter password anyway.
Also note that if you create your passphrase on the command line, you need to be conscious of reserved characters and escape them if necessary.