DEV Community

How to set up SSH access with RSA private key on Windows - GitBash

Junaid Anwar on July 29, 2018

SSH access from windows does not require any extra software to be installed on your computer. It can be accessed right from your favourite command ...
Collapse
 
pkristiancz profile image
Patrik Kristian • Edited

I am glad, i am not only one, who found liking in git-bash. I am wondering, did you try KiTTY? If yes, what benefits of your aproach are there? I mean, is there something, what will be better? :) (for sake of benefits of migration)
Ad keys: isn’t on start easier to just use ssh-keygen to make ~/.ssh/id_rsa ?

Collapse
 
bathindahelper profile image
bathindahelper

After you said, "Paste your "Private RSA Key" file and a config file called "config"(no extension) here. Edit the config file and copy the following code into it." nothing could be understood.

How do we paste a file in the command prompt window?
Where to find the RSA and config files, which are to be pasted?
Where to copy the code from and where to paste? Nothing was clear really.

Collapse
 
juni profile image
Junaid Anwar

Hi, Sorry for confusing you. I just updated the article and added an image for reference as well. Hope this helps!

Collapse
 
mayhem93 profile image
Răzvan Botea

You could also use openssh for windows, without needing gitbash.

Collapse
 
rbyd3vyaox profile image
RBYD3vYaox

If it is supported on both side, I prefer Ed25519 keypair instead of RSA keypair.

See blog.g3rt.nl/upgrade-your-ssh-keys... for details.