-
Notifications
You must be signed in to change notification settings - Fork 146
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
golang ssh library cannot connect to sf.tmate.io #12
Comments
This is what tmate-slave supports (gathered with ssh -vv), which includes aes128-ctr,aes192-ctr and aes256-ctr:
Maybe the issue is during the diffie-hellman exchange then? |
Oh and also, tmate-slave forces the client to use EDIT: or |
Ok time to code dive into go-crypt. Thanks! On Sun, Oct 26, 2014 at 9:06 AM, Nicolas Viennot notifications@github.com
|
Cool :) If I may, why would it be beneficial if go-crypto could connect to tmate? |
Also sorry that cf-ssh README doesn't mention tmate.io yet. Still writing docs etcz On Sun, Oct 26, 2014 at 9:06 AM, Nicolas Viennot notifications@github.com
|
The goal is for cf-ssh to kick off an interactive shell into a remote container. I'm hoping to not have to delegate that to the "ssh" CLI. On Sun, Oct 26, 2014 at 9:17 AM, Nicolas Viennot notifications@github.com
|
I'm not sure I understand how you are making it work, but it sounds interesting :) FYI, in 6months, I'll be working full time on tmate (as a real company and all that), which will have good support for running tmate into containers + html5 dashboards of your terminals etc. |
Cool re tmate as a company. cf-ssh is using tmate for self-access to a private network container running within Cloud Foundry rather than for sharing access to a server/laptop with another person. I'll draw some diagrams one day :) On Sun, Oct 26, 2014 at 9:24 AM, Nicolas Viennot notifications@github.com
|
sweet :) I'll definitely ping you once I have something rolling -- as the tmate product is going to address that exact usecase (not the pairing stuff). |
I've added a feature to easily grab the SSH keys out of tmate. |
@drnic hope that merging this PR to golang will help to solve this problem golang/go#10274 soon. |
I was trying to use go.crypto to connect to the sf.tmate.io SSH session but get the following error:
I found an explanation for the possible cause: http://stackoverflow.com/questions/18998473/failed-to-dial-handshake-failed-ssh-no-common-algorithms-error-in-ssh-client/19002265#19002265
Currently, I've fallen back to calling out to an external
ssh
CLI [1] but unfortunately for the Windows users it means they need to find and install an SSH client CLI.It would be awesome if sf.tmate.io supported one of the cyphers supported by go-crypto which I think are:
Possible?
[1] https://github.com/cloudfoundry-community/cf-ssh#why-require-ssh-cli
The text was updated successfully, but these errors were encountered: