Repository navigation
Closed
Labels
Description
- VSCode Version: Insiders
- Local OS Version: Windows
- Remote OS Version: 3.18.71
- Remote Extension/Connection Type: SSH
Steps to Reproduce:
- Run the server.sh locally on my target
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
This is the log:
[09:01:53.903] [email protected]
[09:01:53.903] win32 x64
[09:01:53.904] SSH Resolver called for "ssh-remote+alias", attempt 1
[09:01:53.904] SSH Resolver called for host: alias
[09:01:53.904] Setting up SSH remote "alias"
[09:01:53.917] Using commit id "c8d44e24dd250d416475a10efe64e35c9e2c65b3" and quality "insider" for server
[09:01:53.919] Testing ssh with ssh -V
[09:01:53.973] ssh exited with code: 0
[09:01:53.973] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[09:01:53.973] Running script with connection command: ssh -o ClearAllForwardings=true alias bash
[09:01:53.974] Install and start server if needed
[09:01:54.119] >
[09:01:54.119] Got some output, clearing connection timeout
[09:01:54.277] > [email protected]'s password:
[09:01:59.933] "install" wrote data to terminal: "**********"
[09:01:59.967] >
>
[09:02:00.118] > Running remote connection script
>
[09:02:00.155] > Acquiring lock on /home/root/.vscode-server-insiders/bin/c8d44e24dd250d416475a10
> efe64e35c9e2c65b3/vscode-remote-lock.c8d44e24dd250d416475a10efe64e35c9e2c65b3
>
[09:02:00.244] > Found existing installation at /home/root/.vscode-server-insiders/bin/c8d44e24dd
> 250d416475a10efe64e35c9e2c65b3...
>
[09:02:00.342] > SSH_CONNECTION=192.168.225.29 50795 192.168.225.1 22
> USER=root
> PWD=/home/root
> HOME=/home/root
> SSH_CLIENT=192.168.225.29 50795 22
> MAIL=/var/mail/root
> SHELL=/bin/sh
> SHLVL=2
> VSCODE_AGENT_FOLDER=/home/root/.vscode-server-insiders
> LOGNAME=root
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> _=/bin/printenv
> Starting server...
> Waiting for server log...
>
[09:02:00.904] > Waiting for server log...
>
[09:02:01.428] > Waiting for server log...
>
[09:02:01.966] > Waiting for server log...
>
[09:02:02.490] > Waiting for server log...
>
[09:02:03.022] > Waiting for server log...
>
[09:02:03.555] > Waiting for server log...
>
[09:02:04.062] >
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
>
[09:02:04.124] > Server did not start successfully. Full server log >>>
> bash: line 210: /home/root/.vscode-server-insiders/bin/c8d44e24dd250d416475a10ef
> e64e35c9e2c65b3/server.sh: Permission denied
> <<< End of server log
Activity
noomio commentedon Aug 27, 2019
Hi,
It was a mount that had no_exec option. Check if the user is able to execute commands.
I also found out that this will not work on ARM devices and better to use this approach:
https://github.com/OmniSharp/omnisharp-vscode/wiki/Remote-Debugging-On-Linux-Arm
roblourens commentedon Sep 9, 2019
Nikolas Karakotas (@noomio) is it just your user directory that is mounted with
no_exec? Could the script be executed from /tmp? I don't follow how that remote debugging method actually works.noomio commentedon Sep 10, 2019
roblourens yes it can be executed from /tmp. Hoever it prompts afterwards platform not supported.
I discovered even though once I could execute the linux arm 32 bit platform isnt supported so I switched to framework dependent deployment. See the link above I posted.