W indows SSHserver



![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F07961911-fcc3-4942-a1c4-73ef102454c8%2FUntitled.png?table=block&id=af103014-c402-4252-b016-979f9f92e751&cache=v2)
or

```typeAdd-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0Start-Service sshdssh Administrator@localhost```


- refused error
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F20af02bd-27aa-4a1d-982f-257a399b9f2f%2FUntitled.png?table=block&id=8fa950b9-ab87-4338-a32f-6fb90a04c56f&cache=v2)
> [Connection reset by server after SSH2_MSG_KEXINIT sent · Issue #1027 · PowerShell/Win32-OpenSSH](https://github.com/PowerShell/Win32-OpenSSH/issues/1027)

> [Get started with OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=powershell)





