Eugeny / tabby

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

SSH does not work #6040

Open Fabricio20 opened 2 years ago

Fabricio20 commented 2 years ago

Describe the problem: Hello, I've just installed Tabby and I'm having issues connecting to any SSH server, the servers are all using key-based authentication and work just fine from the command line, termius, putty and bitvise ssh client.

image

I've checked a few other issues on the repository but none seem to address the problem, the rsa key is encrypted and of type:

Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC

However even changing this format via PuTTYgen to a normal (PEM-encoded) OpenSSH key does not yield a working setup.

The following is the debug log from developer tools, Tabby is running on Windows 11:

GET file:///C:/Program%20Files/Tabby/resources/app.asar/dist/undefined net::ERR_FILE_NOT_FOUND
Color: null is invalid using fallback #000000
[ssh-192.168.1.172-22] Host key fingerprint:
[ssh-192.168.1.172-22]  ecdsa-sha2-nistp256  QC6Ag2Sp0IvqhRf1wzFZpGhnkGTNESbfsCBUCBE7fFE= 
[ssh-192.168.1.172-22] Handshake complete: {kex: 'curve25519-sha256', serverHostKey: 'ecdsa-sha2-nistp256', cs: {…}, sc: {…}}
[ssh-192.168.1.172-22] Server does not support auth method keyboard-interactive
[ssh-192.168.1.172-22] Server does not support auth method hostbased
[ssh-shell-192.168.1.172-22]  X  Remote rejected opening a shell channel: Error: Not connected

To Reproduce:

wgicio commented 2 years ago

I cannot connect with SSH either

Catsrules commented 2 years ago

I don't know if my issue is the same as yours but under the profile settings I thought those 5 buttons under authentication method were just navigation buttons to show the different setting. I just left it on whatever I had last clicked on. So for example I had Key selected on a Password SSH client and Password selected on a Key based client. I just wanted to make sure there was no key or username saved under those settings lol.

But this actually force Tabby to only use that authentication method. I was getting the exact same errors as you are getting. So just wanted to let you know incase you made the same mistake as I did. I changed all of mine to auto and that seems to have fixed it.

image

ppoffice commented 2 years ago

Possibly related to https://github.com/mscdex/ssh2/issues/989

JACK-THINK commented 2 years ago

Nor do I.