-
Notifications
You must be signed in to change notification settings - Fork 524
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
EC2 Remote from Windows : ec2_connect.ps1 missing #6248
Comments
Connecting from Windows is not yet implemented. We plan to follow up on this. |
Thanks! So I should not expect being able to connect from WSL on Windows to a remote EC2 either? The error is different, but I'm leaving it here:
despite the Remote SSH extension being installed (v 0.116.0). |
If you started vscode from WSL and are running the WSL (Linux) version of vscode, it should work. If you are connecting to WSL from Windows, then that is a "remote" situation which isn't currently supported (it would require remote-ssh in the remote (WSL) vscode instance, plus AWS Toolkit would need to understand this and invoke vscode in the correct way, which currently is not supported).
Is it installed in the remote WSL environment (not your local desktop vscode code)? |
Yes, from WSL, running
Indeed, no. VSCode is installed on Windows, with the remote extension, which I understand is not supported at the moment. Feel free to close this issue as this is unsupported for now. |
Ok. Are there any plans to implement it? Is there much more work to be done aparat from translating the bash version of the 'ec2_connect' scritp to powershell? |
That's pretty much it :) Patch welcome! |
I think there might be little more to it than that. I translated the shell script to ps1 using copilot, but that's not enough, and having little experience with this toolkit, I can't quickly fix it. Pretty please, provide a fix, if that's not a big problem on your side. |
@guteksan if its not too much effort, can you drop what you have thus far? gonna give this a shot later |
here is the ai generated version i am working on testing
|
some updates:
|
Problem
When trying the new experimental feature to "connect to EC2 instance in a new Remote window" from Windows, the script
ec2_connect.ps1
is missing.Logs :
Steps to reproduce the issue
Expected behavior
I should be able to open a new VSCode window, connected to this remote EC2 through SSM.
System details (run
AWS: About
and/orAmazon Q: About
)The text was updated successfully, but these errors were encountered: