vscode-vagrant icon indicating copy to clipboard operation
vscode-vagrant copied to clipboard

Add support for vagrant ssh

Open pzelnip opened this issue 7 years ago • 4 comments

Would be cool if one could do (from the command palette) a vagrant ssh, and have it open up an interactive ssh session in the terminal window on the VM.

pzelnip avatar Oct 07 '17 20:10 pzelnip

Wait, it looks like there's code for this, but it doesn't show in the palette, nor is mentioned in the readme?

pzelnip avatar Oct 07 '17 20:10 pzelnip

@pzelnip Did you ever figure out a way to do this?

thehig avatar Jan 03 '19 18:01 thehig

Nope.

pzelnip avatar Jan 14 '19 21:01 pzelnip

I have added a little bit of (Vagrant) code I use to manage the VSC remote list to #18.

This maintains a file you can include into .ssh/config with host configurations for all your currently running vagrant boxes, which the Remote-SSH extension will see when it changes.

This, in turn, should get you ssh boxname working in any terminal window.

depthoffocus avatar Nov 19 '20 20:11 depthoffocus