-
Notifications
You must be signed in to change notification settings - Fork 160
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
asn1: structure error: tags don't match #11
Comments
Same as #13. Repeating what I posted there, could you try this? Hmm, maybe it is picking up the key file auth method first, before the ssh-agent method. Can you try an experiment please?
|
I have the same error. I tried commenting out line 118 and recompiled and it didn't solve the problem. I'm on OSX. |
By the way, I encountered that error with and without the |
Commenting out line 118 does not work for me, either running rtop without ssh-agent. I think it fails at |
I found that 512-bit RSA works, while 2048-bit RSA fails. |
#11 (comment) is not correct. It is not 2048-bit RSA that fails, it is a key-pair with passphrase that fails. |
Do Also, use |
Please check with commit f753d19. With this rtop will natively support encrypted private keys, and also support auth via ssh-agent correctly. |
Building this version, now I no longer get that same error @Lance0312 got. But instead I get a "Key passphrase:" prompt
This works though without prompting me for a passphrase:
|
@peterbe is your ~/.ssh/id_rsa encrypted? |
|
so, plain text I guess |
@mdevan, f753d19 works great. I was working on to build something like I think @peterbe uses ssh-agent, am I correct? The auth order changed in f753d19 breaks how it should work. If ssh-agent has credentials cached, it should be used for auth first. Then asks user for passphrase if there's no credential cached. |
@Lance0312 There is a catch in the auth order. The code in |
Try with the latest commit ba5b35e. This improves the auth method handling. |
Below is what I got, I think it is different from #4
Background info
Commit hash: ed16e84
uname:
Linux foobar 4.0.1-1-ARCH #1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015 x86_64 GNU/Linux
openssh: 6.8p1
openssl: 1.0.2a
The text was updated successfully, but these errors were encountered: