Cause#
Today, I was bored and wanted to check the server wwwlogs. I thought it would be too troublesome to download the logs to my local machine and view them, so I tried to connect directly to the server using VSCode to check the logs. Then the situation in the image below occurred.

Solution#
What's going on? Take a closer look at the output message Bad owner or permissions on C:\\Users\\Administrator/.ssh/config

As for the reason, I don't know, but as long as I know how to solve it, that's good.
Don't worry, find C:\<username>\.ssh\config

Right-click and go to the "Security" tab

Then click "Advanced"

Click "Disable inheritance" and select the first option

Then delete all users except for your username

After completion, it should look like this

Then apply, OK, and go back to VSCode

You should now be able to connect to the server normally

Conclusion#
The images in this article may appear blurry because they were directly saved in webp format using Snipaste. I won't be lazy next time
This article is synchronized and updated by Mix Space to xLog
The original link is https://blog.nekorua.com/posts/maintain/92.html