📜 ⬆️ ⬇️

Windows and SSH. Continuation

Recently I decided to dig into Insider Preview Windows 10 (10.0.14393.3) on how the Bash subsystem works there and remembered the publication of kekekeks “ Microsoft ’s SSH support in Windows” . And out of pure curiosity I drove into the bash console "ssh localhost" and was slightly surprised that he offered to save the key.



At first, I thought that the Linux subsystem brought with it something new, but no - the components appeared in the latest OS update:


')
Now in order to connect via SSH to a Windows 10 computer, you will need to add a user to the “SSH Users” group through “Computer Management” - “User Groups ” . Only users in English are supported (at least I could not log in with the user in Russian).

When connected, a standard Windows command line interface opens (very strange that it is not PowerShell, it would be much better).



Of the bugs seen so far


1. Whoami and some others output is not shown;
2. Command execution is not interrupted by CTRL + C ;
3. PowerShell does not work.

* SCP did not check the operation. If it's not difficult for anyone ... And suddenly you will find where and how the keys are stored.

If you find something else - inform, I will add.

Source: https://habr.com/ru/post/306518/


All Articles