Perhaps you should try Git for Windows . In addition to the graphic shell, this package includes bash emulation. When installing, you will be offered three options:
- separate bash console
- minimal set of UNIX commands for use in the Windows command line
- full UNIX-environment in the Windows command line (changing the behavior of a number of commands, such as
find and sort ).
The home directory will be your User-directory, in which you can create a subfolder .ssh and put your keys, as in a UNIX-like operating system.
If the keys are not automatically picked up from the directory, you can install a Windows-SSH agent. To work with SSH, Windows has a set of Windows utilities , including the well-known PyTTY. It has the utility puttygen.exe , which allows you to either generate a new key or convert an existing UNIX key. This key can be loaded into the pageant.exe agent, which will hang in the tray and provide the key for SSH operations, like the ssh-agent on UNIX. Yes, unfortunately, this will lead to the fact that in UNIX and Windows you will have different private keys, but due to the conversion, you can ensure that the public key is the same.
ssh-key команды не пашут- it is possible in more detail how you tried to generate a key, what error message? - Nick Volynkin ♦