Issue occured while generating the key using Git bash

git, git-bash, ssh, ssh-keys

Solution

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 ;)

Problem

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 ""

Original source