Setting up OpenSSH for Windows using public key authentication

后端 未结 8 988
忘掉有多难
忘掉有多难 2020-12-07 09:06

I am having issues setting up OpenSSH for Windows, using public key authentication.

I have this working on my local desktop and can ssh with a key from Unix machines

8条回答
  •  臣服心动
    2020-12-07 09:32

    I have solved the issue...

    It is related to the account that started the service - it was using the Local System account - this was stopping it accessing the public key and authorized_keys file.

    Once I stopped the service and started as the user I was trying to connect into, it worked!

    So basically, you need to start with a service account and then external users connect in as that user.

提交回复
热议问题