girish lalwani
girish lalwani

Reputation: 81

Issue occured while generating the key using Git bash

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

Answers (1)

Johan Lundberg
Johan Lundberg

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

Related Questions