

Might I recommend the free Windows Terminal? You’ll love it. Open a terminal instance attached to WSL. You will need to copy that entire folder from Windows, to WSL. The keys are almost always located at c:\Users\\.ssh. To use this same set of keys in WSL, you first need to copy them over. It will walk you through generating the key, starting the agent and then adding your key to Github. Follow the instructions over on Github’s documentation to do this. My recommendation is that you set up SSH on the Windows side first.

This means that you would need a set of SSH keys for Linux and one for Windows, ultimately treating your machine as 2 machines instead of one.Ī better solution would be to share the same set of SSH keys between Windows and WSL so that you have one set of keys for one machine. As a developer, this is quite compelling as you can develop for both platforms on both platforms but with only one machine and without having to constantly switch OS’s.

The primary value propositions of WSL is that you can have both Linux AND Windows. The problem is that the Linux distro you install in WSL see’s itself as it’s own operating system, and it wants its own set of SSH keys. There’s a good reason for that.Īn SSH key is specific to a machine. I mention in that section that you can share SSH keys between Windows and WSL, but I never showed exactly how to do it. One of the things that I cover in that article is how to get SSH setup in WSL with Github. The SSH Server is developed and supported professionally by Bitvise.I recently wrote an article for Smashing Magazine that covers how I set up my personal development environment to use the Windows Subsystem for Linux version 2 (WSL 2). It is robust, easy to install, easy to use, and works well with a variety of SSH clients, including Bitvise SSH Client, OpenSSH, and PuTTY. dynamic port forwarding through an integrated proxy īitvise SSH Server is an SSH, SFTP and SCP server for Windows.The SSH Client is robust, easy to install, easy to use, and supports all features supported by PuTTY, as well as the following: It is developed and supported professionally by Bitvise. They are not endorsements by the PuTTY project.īitvise SSH Client is an SSH and SFTP client for Windows.

PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers.īelow suggestions are independent of PuTTY. PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. Download PuTTY - a free SSH and telnet client for Windows
