코린이의 기록

[VS Code] Remote SSH Tunneling Permission denied 본문

IDE/VS Code

[VS Code] Remote SSH Tunneling Permission denied

코린이예요 2019. 7. 3. 16:28
반응형

 

"install" terminal command done
Received install output: af06cc03-7565-4026-9930-b794c5913b01==37094==
Server is listening on port xxxxx
Spawning tunnel with: ssh vm2 -N -L localhost:xxxx:localhost:xxxxx
Spawned SSH tunnel between local port xxxxand remote port xxxxx
Waiting for ssh tunnel to be ready
Tunnel(xxxxx) stderr: Permission denied, please try again.

Tunnel(xxxxx) stderr: Permission denied, please try again.

Tunnel(xxxxx) stderr: root@xx.xx.xx.xx Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Tunneling remote port xxxxx to local port xxxx
Resolving "ssh-remote+vm2" to "localhost:xxxx", attempt: 1

해결방법

https://github.com/Microsoft/vscode-remote-release/issues/75

settings.json 에서 "remote.SSH.showLoginTerminal" : true 추가

{
    "window.zoomLevel": 0,
    "git.ignoreMissingGitWarning": true,
    "open-in-browser.default": "chrome",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
    "terminal.external.windowsExec": "C:\\Program Files\\Git\\bin\\bash.exe",
    "git.ignoreLegacyWarning": true
    "remote.SSH.showLoginTerminal": true,
}

 

반응형
Comments