Repository navigation
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)info-neededIssue requires more information from posterreconnectingAttempting to reconnect and it isn't clear whysshIssue in vscode-remote SSH
Description
Issue Type: Bug
Integrated terminal is just Starting... and it doesn't start.
Option "terminal.integrated.inheritEnv": false doesn't help.
settings.json
{
"indentRainbow.colors": [
"rgba(255,255,255,0.00)",
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.04)",
"rgba(255,255,255,0.02)",
],
"bracket-pair-colorizer-2.colors": [
"#dcdcdc",
"#bbbbbb"
],
"[css]": {
"editor.tabSize": 2
},
"[styl]": {
"editor.tabSize": 2
},
"[json]": {
"editor.tabSize": 2
},
"sync.gist": " some hash ",
"workbench.iconTheme": "vscode-simpler-icons",
"terminal.integrated.shell.windows": "${env:PathToBASH}",
"editor.minimap.enabled": false,
"editor.snippetSuggestions": "top",
"editor.colorDecorators": false,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"terminal.integrated.copyOnSelection": true,
"window.restoreWindows": "none",
"javascript.format.enable": false,
"terminal.integrated.rendererType": "dom",
"workbench.colorTheme": "Dark Turquoise ~ Rainbow",
"extensions.ignoreRecommendations": false,
"files.enableTrash": false,
"telemetry.enableTelemetry": false,
"explorer.autoReveal": false,
"php-docblocker.returnGap": true,
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.showCommands",
"-workbench.action.terminal.findNext",
"-workbench.action.debug.start",
"-workbench.action.toggleFullScreen",
],
"terminal.integrated.inheritEnv": false,
"terminal.integrated.shell.linux": "/bin/bash",
"composer.executablePath": "${env:PathToCOMPOSER}",
"remote.SSH.useLocalServer": false,
"remote.SSH.showLoginTerminal": true
}
{
"indentRainbow.colors": [
"rgba(255,255,255,0.00)",
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.04)",
"rgba(255,255,255,0.02)",
],
"bracket-pair-colorizer-2.colors": [
"#dcdcdc",
"#bbbbbb"
],
"[css]": {
"editor.tabSize": 2
},
"[styl]": {
"editor.tabSize": 2
},
"[json]": {
"editor.tabSize": 2
},
"sync.gist": " some hash ",
"workbench.iconTheme": "vscode-simpler-icons",
"terminal.integrated.shell.windows": "${env:PathToBASH}",
"editor.minimap.enabled": false,
"editor.snippetSuggestions": "top",
"editor.colorDecorators": false,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"terminal.integrated.copyOnSelection": true,
"window.restoreWindows": "none",
"javascript.format.enable": false,
"terminal.integrated.rendererType": "dom",
"workbench.colorTheme": "Dark Turquoise ~ Rainbow",
"extensions.ignoreRecommendations": false,
"files.enableTrash": false,
"telemetry.enableTelemetry": false,
"explorer.autoReveal": false,
"php-docblocker.returnGap": true,
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.showCommands",
"-workbench.action.terminal.findNext",
"-workbench.action.debug.start",
"-workbench.action.toggleFullScreen",
],
"terminal.integrated.inheritEnv": false,
"terminal.integrated.shell.linux": "/bin/bash",
"composer.executablePath": "${env:PathToCOMPOSER}",
"remote.SSH.useLocalServer": false,
"remote.SSH.showLoginTerminal": true
}connection logs
d88f8e9efcd0: running
Acquiring lock on /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afc
e94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94
\ln /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-rem
ote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94.target /root/.vscode-serv
er/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a964
5b44368865c0ba92e2fb881ff1afce94
Found existing installation at /root/.vscode-server/bin/fe22a9645b44368865c0ba92
e2fb881ff1afce94...
Found running server...
*
* Reminder: You may only use this software with Visual Studio family products,
\ln /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94.target /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94
Found existing installation at /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94...
Found running server...
*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
*
Checking server status on port 36181 with wget
d88f8e9efcd0: start
sshAuthSock====
agentPort==36181==
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/0==
platform==linux==
d88f8e9efcd0: end
d88f8e9efcd0: running
Acquiring lock on /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afc
e94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94
\ln /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-rem
ote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94.target /root/.vscode-serv
er/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a964
5b44368865c0ba92e2fb881ff1afce94
Found existing installation at /root/.vscode-server/bin/fe22a9645b44368865c0ba92
e2fb881ff1afce94...
Found running server...
*
* Reminder: You may only use this software with Visual Studio family products,
\ln /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94.target /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94/vscode-remote-lock.root.fe22a9645b44368865c0ba92e2fb881ff1afce94
Found existing installation at /root/.vscode-server/bin/fe22a9645b44368865c0ba92e2fb881ff1afce94...
Found running server...
*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
*
Checking server status on port 36181 with wget
d88f8e9efcd0: start
sshAuthSock====
agentPort==36181==
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/0==
platform==linux==
d88f8e9efcd0: endI can connect to the server with Windows git bash ssh [email protected]
Linux bash is executable
file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=7e644dee920bc3ba797c38e05383286563712b49, strippedExtension version: 0.50.0
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 3.10.0-1062.9.1.el7.x86_64
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Pentium(R) CPU G3460 @ 3.50GHz (2 x 3500) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: disabled_off oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off_ok webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 3.87GB (0.40GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | SSH: 10.0.210.213 |
| OS | Linux x64 3.10.0-1062.9.1.el7.x86_64 |
| CPUs | Intel(R) Xeon(R) CPU X5680 @ 3.33GHz (4 x 3325) |
| Memory (System) | 7.64GB (4.65GB free) |
| VM | 100% |
Reacted by Japillow
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)info-neededIssue requires more information from posterreconnectingAttempting to reconnect and it isn't clear whysshIssue in vscode-remote SSH
Activity
roblourens commentedon Mar 19, 2020
I don't see anything wrong from this info, can you open files in this window?
If not, can you share the log from the Remote-SSH output channel?
vhood commentedon Mar 21, 2020
I can do anything in explorer and I can edit files, save them, remove them etc.
My terminal is always "Starting..." and it doesn't respond.
output channel ssh logs
window logs
roblourens commentedon Mar 22, 2020
Thanks. This is strange, looks like you are in a constant loop of reconnection so some features, will probably not work properly. You probably see a popup saying that vscode is reconnecting too?
vhood commentedon Mar 23, 2020
No, I have no one popup and I don't know why.
But this extension works well with my local clean virtual machine (CentOS 8), where was popups and I've added
ServerAliveInterval 1200to ssh config and now that popups doesn't bother me. For our main remote server and corporation local server (10.0.210.123 were logs from) this option doesn't help, the terminal is just "Starting..." at all time, popups I've never seen there.jorymorrison commentedon Apr 21, 2020
roblourens I ran into this as well. Suddenly my SSH connections would not connect. Only remedy was to use remove
terminal.integrated.shell.windowsfrom my settings.json. It was presumably set after connecting to a WSL remote target some days ago. Otherwise, the SSH connection is established but the session times out because no shell is opened.Note I am using 0.49.0 because .50 and up will not load my configuration file per #2529
wjorda commentedon Apr 21, 2020
^ same symptoms as jorymorrison on Mac. I deleted
terminal.integrated.shell.linuxon mine and was able to connect againander2at commentedon Apr 23, 2020
I commented out
terminal.integrated.shell.windowson my windows machine and it worked. See jorymorrison solution. I am using 0.51.0jorymorrison commentedon May 5, 2020
Something keeps setting:
terminal.integrated.shell.*in my settings.json, which breaks my ability to SSH.Any insight into what causes this to be set in my settings.json?
BarretRen commentedon Jun 12, 2020
I have the same issue with Viktor Khramov (@vhood), have anyone resolved the issue or do you have any workaround solution?
jorymorrison commentedon Jun 12, 2020
BarretRen commentedon Jun 13, 2020
Yea, but it’s still not work. My shell path is “/usr/bin/zsh” on my remote server. Is it related with this issue? i noticed that the default path of vscode is “/bin/bash”.
roblourens commentedon Nov 5, 2020
Sorry for the slow response. There have been lots of changes the past several months. Let me know if anyone is still having an issue.
roblourens commentedon Nov 5, 2020
Actually, consider this a dupe of #2313