Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.43k stars 3.4k forks source link

Always ask "Private key passphrase" #5887

Open isaron opened 2 years ago

isaron commented 2 years ago

Version: 1.0.173 Platform: macOS x64 21.3.0 Plugins: none Frontend: xterm

When using ssh **@***.****.***.***, tabby always ask me to input the "Private key passphrase". Either input the key in or esc it, the alert window is always at the front, and tabby doesn't ssh correctly. Make sure the private keys are there.

Anyone know this?

isaron commented 2 years ago

append: This happens when upgraded from 1.0.172 to 1.0.173 with brew upgrade.

frankie-mceyes commented 2 years ago

It just happened to me too. Plus, the private key I'm using for the SSH connection doesn't even have a passphrase, so I think it's just an endless cycle in the code...

Tabby in Windows 11, v. 1.0.174

frankie-mceyes commented 2 years ago

Ok, I just found out what was the problem for me: I had to open PuttyGen, load the private key with passphrase, go to "Conversions" and export the key with "Export OpenSSH key", than I changed the profile setting, pointing to the new key file. It works now, I think it should be specified in the profile creation page. Something like "Note: only OpenSSH key files are compatible".

Callme86 commented 2 years ago

I fixed this problem by changing the "authentication method" to "password" instead of "auto".

Pande1023 commented 2 years ago

to overcome this issue open ppk in vbcode or any editor of your choice and change ppk version in top couple of lines to version 2 - this should work and is simple fix without the need to recreate ppk in version2.

dlandigi commented 1 year ago

Thank you @Pande1023, it worked for me.

rockyzhz commented 1 year ago

I just changed the keyfile of remote system, and then changed back. Now tabby always ask me for "Private key passphrase". By the same private key file, I used mobaxterm to ssh to remote system successfully. I don't know why?