본문 바로가기

vscode 프로세스에서 없는 파이프에 쓰려고 했습니다.

by tonyhan18 2022. 6. 7.
728x90

vscode로 서버 접속시 제일 짜증나는 오류가 이놈의

 

프로세스에서 없는 파이프에 쓰려고 했습니다.

 

이다.

 

원문

[16:21:14.901] Running script with connection command: ssh -T -D 13687 "root@211.183.3.101" bash
[16:21:14.905] Terminal shell path: C:\Windows\System32\cmd.exe
[16:21:15.136] > ]0;C:\Windows\System32\cmd.exe
[16:21:15.136] Got some output, clearing connection timeout
[16:21:15.162] > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[16:21:15.185] > @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!     
> It is also possible that a host key has just been changed.
> The fingerprint for the ECDSA key sent by the remote host is
> SHA256:822nTS7ShG8c6AfNMGAcXnN9RwMAeSpVfM9iLKKvpIM.
> Please contact your system administrator.
> Add correct host key in C:\\Users\\keduit/.ssh/known_hosts to get rid of this me
> ssage.
> Offending ECDSA key in C:\\Users\\keduit/.ssh/known_hosts:4
> ECDSA host key for 211.183.3.101 has changed and you have requested strict check
> ing.
> Host key verification failed.
> 프로세스에서 없는 파이프에 쓰려고 했습니다.
> 
[16:21:16.466] "install" terminal command done
[16:21:16.467] Install terminal quit with output: 프로세스에서 없는 파이프에 쓰려고 했습니다.
[16:21:16.467] Received install output: 프로세스에서 없는 파이프에 쓰려고 했습니다.
[16:21:16.468] Failed to parse remote port from server output
[16:21:16.468] Resolver error: Error: 
	at Function.Create (c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:585789)
	at Object.t.handleInstallOutput (c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:584441)
	at Object.t.tryInstall (c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:681707)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:644347
	at async Object.t.withShowDetailsEvent (c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:647692)
	at async Object.t.resolve (c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:645426)
	at async c:\Users\keduit\.vscode\extensions\ms-vscode-remote.remote-ssh-0.80.0\out\extension.js:1:722509
[16:21:16.474] ------

 

해결방법

 

1. 이건 내가 접속하는 곳에서 known_hosts가 중복되어서 생기는 문제이다.

C:\Users\[내 컴퓨터 아이디]\.ssh

이 위치로 먼저가주자.

 

known_hosts를 메모장으로 열어주자

 

그 안에 있는 내가 접속하려는 ip와 관련된 인증정보를 지워버리고 저장한다.

 

접속된다.

728x90