-
Notifications
You must be signed in to change notification settings - Fork 6
Feature idea - open ssh via external tool #89
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
Comments
Can use ssh protocol handler for this. I know that SecureCRT and PuTTY can register to it. Off the top of my head not sure how that'd work with Windows terminal. |
It all depends a bit which tool is used. Some tools do not offer args to initiate a ssh connection. For example for MobaXterm I have not found a possibility. What I can think about, also with a look on other OSes as windows, it to make it freely configurable with vars like:
Means a user need to provide the path to its external ssh tool a create the args, while the extension provides the container ip and the user... |
running native ssh client with regular openssh args should be fine. In windows you can change default terminal program so that windows terminal is used. |
I think I agree with this method. It's much more flexible and good for other OSes. |
Dumping my investigation on this topic: Reference: |
I have some rough implementation currently, the placeholders are working fine for user, hostname etc. The issue is that most users are using Remote SSH, so we need to do some port forwarding or SSH tunneling for this to be useful. Also when using Remote-SSH, we are forced to use the protocol handler as we can't execute commands on the clientside. |
not sure if this is feasible, but maybe it would be nice to open ssh sessions via external tool like windows terminal instead of VScode build in terminal.
The text was updated successfully, but these errors were encountered: