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

Triton SSH w/ Git Bash - ssh version change breaks #240

Open
qdzlug opened this issue Jan 5, 2018 · 3 comments
Open

Triton SSH w/ Git Bash - ssh version change breaks #240

qdzlug opened this issue Jan 5, 2018 · 3 comments
Assignees

Comments

@qdzlug
Copy link

qdzlug commented Jan 5, 2018

Hi,

Under Git Bash (installed using the Git tooling), using triton ssh works as expected under:

$ ssh -V
OpenSSH_7.3p1, OpenSSL 1.0.2j  26 Sep 2016

However, if you are using:

$ ssh -V
OpenSSH_7.6p1, OpenSSL 1.0.2m  2 Nov 2017

You receive this error:

$ triton ssh 3a1f3346
command-line line 0: garbage at end of line; "Cobine\\AppData\\Roaming\\Joyent\\Triton\\tmp\\nullSshControlPath".

Looks to be something perhaps with a default change with the ssh client?

Jay

@ccobine
Copy link

ccobine commented Nov 5, 2019

Robby restested this using OpenSSH for Windows version 7. This is still an issue but would be good to correct for our customers.

@blackwood821
Copy link

One of our users just ran into this as well. They are the only user with a space in their Windows username. Seems like this line should quote the path:

https://github.com/TritonDataCenter/node-triton/blob/master/lib/do_instance/do_ssh.js#L316

Will be testing this shortly and if a change to that line fixes the issue I'll create a PR.

@blackwood821
Copy link

I created a pull request for a change that addresses this issue: #334

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

4 participants