-
Notifications
You must be signed in to change notification settings - Fork 309
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
RequestTTY does not modify the -T flag #6078
Comments
To clarify:
This means if you use terminal or PowerShell, you're able to connect to the remote with a |
Sorry, that was a bit unclear. Indeed, connecting from a terminal to the remote server with |
Sorry I realize I had forgotten to reply here. With With |
I have same issue. I can't connect with '-T'.
And here is what happened when connect in the command line:
|
I have the same issue here. My use case is that I want to be able to automatically attach to a screen after connecting to the host, which I could perfectly achieve outside vscode with the settings:
So that |
I have the same issue here, I would like to use tmux with the following ssh config file: Host host but VSCode connects using: ssh -v -T -D 52289 -o ConnectTimeout=15 host How can I change the behavior of VSCode to connect using : ssh -v -t -D 52289 -o ConnectTimeout=15 host |
I am experiencing the same issue. I want to use VSCode to connect to my server,which system is Windows Server 2012. |
Is not ‘-t’ makes error |
I am experiencing the same issue, where I am not able to open a remote ssh session to my target server (linux) because vscode is forcing the use of the I tested the following connection string from my client and confirmed I get the same connection error as I get when testing from vscode:
When I remove the Also I can see the ssh config parameters Is there any option/setting to allow the user to change this behavior and remove the |
haven't verified but a potential way to reproduce this may be to install debian 12.2 and switch your user's shell to fish, is there a reason we cannot make |
I see |
I am facing the same issue, while vs remote ssh keep adding the -T flag, adding RequestTTY doesn't help, and RemoteCommand also do nothing, anyone can help? |
vscode keeps adding |
Same here. My case is to connect to a server which is bebind a jump server, with option However I don't think this is an issue because there's option to turn off this behavior: "remote.SSH.permitPtyAllocation": true |
I think this issue is a dupe of #7558 (comment) that I didn't realize we had. Yes, that new setting is right, please try it out and give feedback in the other issue, thanks |
The default ssh command from the extension seems to be fixed to
ssh -T ...
. Changing the RequestTTY options in the ssh config file to one of "yes", "no", "auto" or "force" does not change the flag (I'm under the impression it should; might be wrong here).As a consequence I get a
Pseudo-terminal will not be allocated because stdin is not a terminal.
error. Running the ssh command manually with the-t
flag does connect me to the server.Seems to be referenced before here: #5683
Thanks!
The text was updated successfully, but these errors were encountered: