User Tools

Site Tools


Sidebar

code:wsl

This is an old revision of the document!


WSL hints

SSH settings

Source: https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-wsl.html

Modern Windows installations may have built-in SSH server that has to be stopped, because it prevents OpenSSH from listening to port 22.

For example, from the elevated powershell one may run:

Get-Service -Name ssh* | Stop-Service -Force
Get-Service -Name ssh* | Set-Service -StartupType Disabled

If you get a message “Could not load host key: /etc/ssh/ssh_host_rsa_key”, you may need to regenerate keys. In bash prompt type

sudo ssh-keygen -A
code/wsl.1510607028.txt.gz · Last modified: 2017/11/13 22:03 by hansek