-
Notifications
You must be signed in to change notification settings - Fork 26
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
Handshake failed error #60
Comments
anything else in the also, which of these endpoints you tried to connect and failed? |
2 ) all of them 1 ) where are the logs located? |
should be in the folder in which you executed wishlist |
my guess is that its the same thing that happens here: charmbracelet/soft-serve#48 (comment) |
here's the logs
by the way the mitm/key mismatch error is not wishlist's fault I think, since I do occasionally get that error with regular ssh connecting to that host (which is github) |
is that the one where the go library that charm uses can't handle rsa keys? |
the root cause is x/crypto: golang/crypto#197 logs did not help much, we'll see if I can add more info to them... meanwhile, can you try
using the same key? if it is the rsa thing, this should confirm it... |
|
hmmm so I guess I need to add more logs, thanks for the feedback so far, will look into it |
ah, I think I get it.. you have a SSH agent running, but it doesnt have a key that's accepted... if so, #61 should fix it |
Not sure what you mean, running |
#61 might help with some of them (the ones that do have a key specified), but for the ones where the key is not specified and where I just let it use the key from my ssh-agent, I don't think it would help |
#62 adds more logs |
I may be encountering the same or a similar issue - with two specific endpoints that both use the same key, which is a different key than the one most of my other ssh endpoints use.
I've examined the example config.yaml several times and it doesn't appear to include any endpoint params for specifying which key to use for an endpoint. ---
# Examples pasted and sanitized from my config.yaml
endpoints:
- name: works
address: x.x.x.x:22
description: "SSH Endpoint that works"
user: user
forward_agent: false
request_tty: true
- name: does_not_work
address: x.x.x.x:22
description: "SSH endpoint that is passed the wrong key without agent forwarding"
user: user
forward_agent: true
request_tty: true
link:
name: fqdn.com
url: https://fqdn.com |
Hmm, I guess we could allow the identityfiles option in yaml as well will work in a pr for it |
When trying to connect to any server I'm receiving an error:
something went wrong:failed to create session: connection failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
I'm running wishlist in local tui mode, the
config
file is as follows (edited for privacy)Note: the public keys are confirmed to work normally, issues only arise when connecting through wishlist
The text was updated successfully, but these errors were encountered: