Is it possible to connect to wsl through ssh without password and using privatekey authentication?

Sudheer Gudla 1 Reputation point
2022-04-01T16:44:14.077+00:00

Installed wsl in my windows pc and enabled ssh in wsl(localhost). Able to connect and login to wsl(localhost) through putty/automation using ssh with password. Trying to login to wsl through ssh with private key authentication instead of password. Is it possible? if yes could you please share the steps how to do it?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.