14
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VSCodeのRemote SSHで「プロセスが、存在しないパイプに書き込もうとしました。」と出て繋がらない

Posted at
remote-ssh@0.45.6
win32 x64
SSH Resolver called for "ssh-remote+mate", attempt 1
SSH Resolver called for host: xxxxxx
Setting up SSH remote "xxxxxxx"
Using commit id "xxxxxxxxxxxxxxxxxxxxxxxx" and quality "stable" for server
Testing ssh with ssh -V
ssh exited with code: 0
Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
Running script with connection command: ssh -o ClearAllForwardings=true xxxxxx bash
Install and start server if needed
> Bad owner or permissions on C:\\Users\\xxxxxx/.ssh/config
> プロセスが、存在しないパイプに書き込もうとしました。
> 
Got some output, clearing connection timeout
"install" terminal command done
Install terminal quit with output: プロセスが、存在しないパイプに書き込もうとしました。
Received install output: プロセスが、存在しないパイプに書き込もうとしました。
Failed to parse remote port from server output: プロセスが、存在しないパイプに書き込もうとしました。

権限とかの問題っぽいので色々調べて変更してみたが私には解決出来なかった。

とりあえずの解決方法

~/.ssh/config を削除し、C:\ProgramData\ssh\ssh_config に書き込むととりあえず接続出来た。

14
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?