Reputation: 81
Not able to generate the key with Git bash
giving the error Bad escape character 'ygen'
while running the key generation command ssh -keygen -t rsa -C ""
Upvotes: 4
Views: 16170
Reputation: 27038
The command is not
ssh -keygen
it is (without space)
ssh-keygen
ssh interprets the e
part of -ke
as an option to set the escape char, and ygen
is not a valid escape char. There you go ;)
Upvotes: 21