Skip to content

Stuck when connecting remote server using Remote Development while remote server is reachable in ssh (random nodes assigned) #297

@zhliang-work

Description

@zhliang-work
  • VSCode Version: 1.34.20-insider
  • OS Version: Local Client - Ubuntu 16.04, Remote Server - Ubuntu 16.04

I am using a group server and when I try to connect it using the new Remote Development extension, the SSH tunnel process stalls. But I can use normal SSH to connect to the server.

The terminal outputs are as follows:

> bash: cannot set terminal process group (21617): Inappropriate ioctl for device
> bash: no job control in this shell
> Found existing installation...
> 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)
> *
>  
> 8ab17bf7-eebb-479a-a4d8-c0813ff9ec5c==46161==
"install" terminal command done
Received install output: 8ab17bf7-eebb-479a-a4d8-c0813ff9ec5c==46161==
Server is listening on port 46161
Spawning tunnel with: ssh  a18 -L localhost:42233:localhost:46161 "echo -e 'Connected to SSH Host - Please do not close this terminal' && sleep infinity"
Spawned SSH tunnel between local port 42233 and remote port 46161
Waiting for ssh tunnel to be ready
Tunneling remote port 46161 to local port 42233
Resolving "ssh-remote+a18" to "localhost:42233", attempt: 1
> channel 3: open failed: connect failed: Connection refused
> channel 4: open failed: connect failed: Connection refused
> channel 5: open failed: connect failed: Connection refused
> Connected to SSH Host - Please do not close this terminal

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bugsshIssue in vscode-remote SSH

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions