win10 ssh perfect solution 'Bad owner or permissions' and vscode "remote host remote ssh process tries to write to the pipe does not exist" problem

Article Directory

These two issues is essentially a built-in ssh lead,

The root cause lies in the system's built-in version of the ssh, ssh connection with this has been Bad owner or perminissions,
resulting in vscode remote connection to the host when the pipeline can not connect, does not recognize .ssh / config

There are two solutions,
one is to borrow the ssh git, git also have ssh, as

Here Insert Picture Description

Local ssh is in the system tray of windows / system32 / openssh, the need permission to delete this too much trouble,
then delete this directory in the environment variable,
the environment variable system to delete the original path ssh, ssh plus the git path
to restart the console to take effect!

two is

Download the latest version of openssh https://github.com/PowerShell/Win32-OpenSSH/releases on github

Ibid modify environment variables to take effect
Here Insert Picture Description

Published 160 original articles · won praise 146 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_44510468/article/details/104695521