Setup ssh server on win
-
https://blog.csdn.net/weixin_72910567/article/details/132414264
-
Verified on 24.11.12, win11, ok, will attach Cmd not Powershell
-
Need passwordless?
- upload client
id_rsa.pubto server’s~/.ssh/authorized_keys - Edit
C:\ProgramData\ssh\sshd_config- set
PubkeyAuthentication yes - comment this
AuthorizedKeysFile..: (ref: https://superuser.com/questions/1698831/ssh-into-a-passwordless-windows-10-pc)
1Match Group administrators2# AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys - set
- ok on 24.11.12
- upload client