-
Notifications
You must be signed in to change notification settings - Fork 292
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
Can't connect when RemoteCommand is very slow #6319
Comments
When you connect through just your shell to |
Yes, because the lines also appear, if I log in via interactive shell. VSC output:
interactive shell output: user@dev-system:~$ ssh vsc-v100-alpaka
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
(alpaka-dev) user@dev-system:~$
|
@roblourens I believe this is another situation where the shell command in the connection string enabled bash before on a windows system but not anymore now. We could try running probe shell first to actually know which shell they're running and decide the script based on that? |
I don't understand why the platform detection isn't working though. It might have timed out? It looks like the uname response is late |
The script #!/bin/bash
source ~/.bashrc
conda activate vikunja-dev This takes about 10-15s, because the conda environment also loads some spack modules, which incredible slow. Therefore I increased also the SSH timeout to 30s. |
Ok. I think the platform detection is not included in our configurable ssh timeout. We could make this part of our timeout setting |
Hello! My name is Eleanor and I am the new maintainer for Remote-SSH. To summarize for future reference, the ask here is for platform detection to be used as a factor to see if the ssh connection has worked. Since platform detection indicates that ssh did successful connect to the remote machine and began trying to determine its platform, this shows the ssh connection is a success. Therefore the ssh timeout should not be considered any longer and detection script should not timeout based on the ssh timeout settings. |
I had the same issue, however my remote command should not(?) cause a timeout
My command was |
Since today, I use the to run a custom
.bashrc
for a specific ssh connection to setup a environment for my remote vsc running on an Ubuntu 20.04:Since today, it is not working anymore, because vsc detects the system as Windows and tries to execute the powershell. I already tried the option
remote.SSH.remotePlatform
without success:If I disable
useLocalServer
, the remote system is correct detected as Linux but thanenableRemoteCommand
is not working anymore.The text was updated successfully, but these errors were encountered: