Skip to content
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 --vscode flag to ssh connect command #7

Open
alexellis opened this issue Mar 28, 2024 · 0 comments
Open

Add --vscode flag to ssh connect command #7

alexellis opened this issue Mar 28, 2024 · 0 comments

Comments

@alexellis
Copy link
Member

Inspired by Ivan's recentl labctl CLI:

https://github.com/iximiuz/labctl/blob/fa58e59280fe07cf9725de034d5fab8d4097f93f/cmd/sshproxy/sshproxy.go#L145

Add --vscode flag to ssh connect command, to automate the command to launch VSCode pointed at a remote SSH session with actuated.

Using the instructions at https://code.visualstudio.com/docs/remote/ssh, I was able to launch a remote VSCode session and open the filesystem of the runner.

Screenshot 2024-03-28 at 08 22 59

But automating this is in line with the current ssh connect command, so would potentially work better.

Having VSCode connected to a remote filesystem would be very handy for debugging the runner environment, which is what the "actuated-cli ssh connect" command is all about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant