-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck on "Opening Remote..." #195
Comments
I had the same issue, have a look at the VS Code Terminal ( |
I could not find anything under |
@jbelien can you pls open the 'Output' panel at the bottom and switch to the 'Remote - SSH' output and include what is shown here. |
@egamma Unfortunately, I just tried and can't seem to reproduce the "issue" I had. Since then I enabled |
@jbelien thanks for following up. Just checked and the use of |
@egamma I was the one to open the issue and it seems you closed it due to a comment by @jbelien, but we do not share the same issue. I did however enable the logging and this is the output I get: SSH Resolver called for "ssh-remote+vm"
SSH Resolver called for host: vm
Setting up SSH remote "vm"
Using commit id "daf71423252a707b8e396e8afa8102b717f8213b" and quality "insider" for server
Install and start server if needed
> ...redacted...
> New release '18.04.2 LTS' available.
> Run 'do-release-upgrade' to upgrade to it.
>
>
>
> bash: cannot set terminal process group (68554): Inappropriate ioctl for device
> bash: no job control in this shell
>
> tput: No value for $TERM and no -T specified
> tput: No value for $TERM and no -T specified
> tput: No value for $TERM and no -T specified
>
> 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)
> *
>
> c931a42f-ebc8-4c45-a515-5d976ab928af==32873==
>
"install" terminal command done
Received install output: c931a42f-ebc8-4c45-a515-5d976ab928af==32873==
Server is listening on port 32873
Spawning tunnel with: ssh vm -L localhost:31784:localhost:32873 "echo -e 'Connected to SSH Host - Please do not close this terminal' && sleep infinity"
Spawned SSH tunnel between local port 31784 and remote port 32873
Waiting for ssh tunnel to be ready
> ...redacted...
Tunneling remote port 32873 to local port 31784
Resolving "ssh-remote+vm" to "localhost:31784", attempt: 1
> channel 3: open failed: administratively prohibited: open failed
> channel 4: open failed: administratively prohibited: open failed
>
> channel 5: open failed: administratively prohibited: open failed
> Connected to SSH Host - Please do not close this terminal
> |
I found that enabling the sshd config |
@Chuxel candiate tips & tricks material |
reopening and labelling as a doc issue. |
A note if the docs get an update: It was the output Would it also not be a good idea to actually give this feedback to the user somehow in the notification area, and not just in the output panel? I understand it's a hard line to draw though of what should go there and what not. |
|
Yes, a change to sshd config always require a restart. Try a |
@thernstig even after restart - doesn't solve the problem. |
@Defite That is not the same error I as reported. As you can see here #195 (comment) my error is about |
Steps to Reproduce:
I have an ssh config with similar to this:
I can do an
ssh vm
from Windows PowerShell without any trouble. The user on Windows is the same as in my vm. It is using key based authentication, with no passphrase set.When I try to open this with
Remote-SSH: Connect to Host...
it shows the notification for a short while but then in the lower-left it just gets stuck at "Opening Remote...". No notifications, no nothing.I've tried searching for existing issues and I've read all documentation in regards to Remote development, but found no clue as to what I might be doing wrong.
The text was updated successfully, but these errors were encountered: