-
Notifications
You must be signed in to change notification settings - Fork 300
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
Add Configurable -T Parameter for Remote-SSH #7558
Comments
recommendation by @schiffy91 in #7673
|
issue reported here: #8063 |
Thank you, but I guess any advanced user will prefer to have the option to configure any ssh parameter (could be more needed depending on a number of factors) |
@davidpasqua-asml, some of the ssh parameters interfere with our install script, are there any ssh parameters, in particular, you want configurable? |
any update on this issue? I'm facing same problem, unable to connect to Debian host with |
No sorry, the issue will be tagged by our iteration plan issue when it does go into our monthly plan so once you see that then you know it is being worked on. Thanks! |
ok, thanks.. is there any workaround or patch I could apply manually meanwhile? |
@roblourens, can answer this question? Thanks! |
I got this issue and couldn't connect remote ssh to my raspberrypi.local and I could connect from puTTy, somehow when I tried to use the extension to remote connect ssh to the raspberrypi it couldn't establish a connection and I tried it again it spammed out Waiting for server logs... and still failed connection. I tried the way I connect the remote from the terminal using ssh -v -T -D 56207 -o ConnectTimeout=30 raspberrypi.local without -T parameter is connecting in the terminal but I would like to connect with the extension so that I could show the code and edit the code in the VSCode, do you have any idea how could I fix it @eleanorjboyd |
@tanminhan0 can you please create a new bug report? Then we can answer it from there, thanks |
I encountered the same problem, which is due to vscode creating a configuration file when first connecting to a remote computer, and the operating system in the configuration file may be incorrect. For example, when I connected to a Windows host, it created a Linux configuration file. By correcting the operating system in remote.SSH.remotePlatform, all problems were solved. |
@eleanorjboyd @roblourens Hello, I'm also having this issue when i can't connect to remote server via ssh with -T parameter. I tried to use "RequestTTY force" option in ssh config, but this option doesn't override -T parameter. Right now i have no workaround, so this issue is very critical for me. Please, help :) |
I also have this problem when connecting to vs code server on mac os. We will wait for the start of work on the task) |
I'm seeing the same problem going from Windows to Windows. I was able to work around it by specifying a RemoteCommand for the connection that starts a shell. I guess that defeats -T?
and then in the .ssh config file:
|
I think is relevant to an unrelated issue I have with X11 forwarding through the VSCode RemoteSSH integrated terminal, we need -X and have tried In the .ssh config file but still get "-v -T -D 57353 -o ConnectTimeout=15 " as the ssh command in the output window. I couldn't find an open issue about this but feel free to send me there if anyone is aware of one. |
FWIW, I saw this issue related to an older server and newer VSCode. It seems to related to the resolution of avoiding to enter your password multiple times. On an old server, Insider persisted with the opening log error, regardless of deleting existing .vscode* directories. OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 |
This worked for me, except for that i need to enter my password twice. |
+1 |
Any update on this @eleanorjboyd? I encounter the same issue. The command being run by VSCode is For me, it is crucial to be able to connect to
However, the option
Thanks! |
Add an additional setting so the user can specify if they want to include the -T command in the connection string that is run by the extension. This parameter is necessary for many people but does cause issues for others so configurability is the best solution.
The text was updated successfully, but these errors were encountered: