tabby icon indicating copy to clipboard operation
tabby copied to clipboard

X Timed out while waiting for handshake

Open kvgary opened this issue 2 years ago • 34 comments

Version: 1.0.176 Platform: macOS arm64 21.4.0 Plugins: none Frontend: xterm 我用TABBY ssh 连接ESXI就有这个提示。但是我系统自带的终端用ssh root@ip 去连接是正常的。 X Timed out while waiting for handshake SSH X Remote rejected opening a shell channel: Error: Not connected

kvgary avatar Apr 21 '22 17:04 kvgary

补充一下,用TABBY连接其它的CENTOS是正常的唯独连接ESXI不正确。

kvgary avatar Apr 21 '22 17:04 kvgary

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


To add, it is normal to use TABBY to connect other CENTOS, but the connection to ESXI is not correct.

Issues-translate-bot avatar Apr 21 '22 17:04 Issues-translate-bot

I have the same question.

jed-hacker avatar Sep 08 '22 09:09 jed-hacker

我这里也有这个问题 I had the same issue

aylerliu avatar Oct 17 '22 06:10 aylerliu

Have the same issue.

zhaolj avatar Oct 22 '22 02:10 zhaolj

Same here, can't connect to VMWare Esxi hosts (7.x)

germain-italic avatar Nov 06 '22 00:11 germain-italic

I am also having this issue. Cannot connect to esxi 7

uwbfortner avatar Nov 18 '22 17:11 uwbfortner

image same issue

zhangdp avatar Dec 20 '22 12:12 zhangdp

Same issue

 SSH  Connecting to esxi.lan
 SSH  Host key fingerprint:
 SSH   ecdsa-sha2-nistp256  W6tuViARqSFoO0bQrVQIxC1dWGdLsvJLLnmWOTLiXDg= 
 X  All configured authentication methods failed

catid avatar Feb 27 '23 01:02 catid

Same issue image

ghost avatar Mar 10 '23 07:03 ghost

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


Same issue image

Issues-translate-bot avatar Mar 10 '23 07:03 Issues-translate-bot

This is still an issue with 1.0.193.

godsyn avatar Mar 19 '23 23:03 godsyn

Same problem with version 1.0.196 (Windows x64) and a connection on an ESXi v6.7...

Asthaknes avatar Mar 28 '23 08:03 Asthaknes

and: 1.0.196 (Windows x64) and a connection on an ESXi v7.2. Doesn't appear to be ESX version dependent.

godsyn avatar Mar 28 '23 19:03 godsyn

This appears to have something to do with FIPS mode on SSH servers, and thus isn't limited to ESXi (see #5962).

Connecting via the native SSH client in the current Tabby release (1.0.196) seems to encounter this issue due to what I suspect is an older or incompatible library. I haven't tried any more current or nightly releases, though.

As a workaround, you can open a PowerShell profile (or any other local terminal) that is using a different SSH client library, and ssh will probably connect just fine. And as a less secure workaround, you can disable FIPS mode on the SSH server (i.e. /etc/ssh/sshd_config and setting FipsMode = off). Restart the service (on ESXi, the service is upper-case as /etc/init.d/SSH restart), for good measure.

To also confirm, I edited my connection profile to match precisely what the server is configured to accept, to no avail. Had to disable FIPS mode or use another client.

Edit: Enabling verbose logging in the SSH server will show a bit more, but it's not the most accurate/helpful message:

Using arbitrary primes is not allowed in FIPS mode. Falling back to known groups.

kachunkachunk avatar Apr 15 '23 10:04 kachunkachunk

I was facing the same timeout issue when connecting using SSH but was working when I open and navigate via other Shells to the same remote machine. I was able to find a workaround from Tabby by change some settings in the Profile's Advanced tab. I changed the Ready Timeout from default (it showed 20000 but probably was not 20000) to something like 30000 and it worked. Not sure if this helps everyone, but it is worth a try.

Deltatiger avatar May 12 '23 06:05 Deltatiger

This is still an issue with 1.0.197 on mac image

Nodewebzsz avatar May 25 '23 16:05 Nodewebzsz

same problem

pilotcy avatar May 27 '23 08:05 pilotcy

We also get that problem, it freezes tabby completely.

WindowPlaceBrain avatar Jun 06 '23 07:06 WindowPlaceBrain

I was facing the same timeout issue when connecting using SSH but was working when I open and navigate via other Shells to the same remote machine. I was able to find a workaround from Tabby by change some settings in the Profile's Advanced tab. I changed the Ready Timeout from default (it showed 20000 but probably was not 20000) to something like 30000 and it worked. Not sure if this helps everyone, but it is worth a try.

Thanks, it worked for me. In my case, because DNS (nameserver) doesn't config so Tabby take more than 20s to connect. So I set timeout to 30s then it worked but very slowly. Finally, I fix nameserver and return timeout to 20s (default by Tabby) then it connect right now.

kid1612 avatar Jun 07 '23 02:06 kid1612

This method works for me, and here is the sed command:

[root@localhost:~] sed -i 's/^FipsMode yes/FipsMode no/i' /etc/ssh/sshd_config
[root@localhost:~] /etc/init.d/SSH restart

Neo1102 avatar Jul 08 '23 05:07 Neo1102

same problem

swRains avatar Jul 16 '23 16:07 swRains

can't connect to VMWare Esxi

swRains avatar Jul 16 '23 16:07 swRains

same problem

pilotcy avatar Jul 31 '23 11:07 pilotcy

same here in latest version

Renderer6060 avatar Sep 25 '23 08:09 Renderer6060

same problem

Kado814 avatar Nov 22 '23 02:11 Kado814

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


same problem

Issues-translate-bot avatar Nov 22 '23 02:11 Issues-translate-bot

same problem

Hotinosin avatar Dec 21 '23 07:12 Hotinosin

same problem

rationa1 avatar Feb 19 '24 08:02 rationa1

I was facing the same timeout issue when connecting using SSH but was working when I open and navigate via other Shells to the same remote machine. I was able to find a workaround from Tabby by change some settings in the Profile's Advanced tab. I changed the Ready Timeout from default (it showed 20000 but probably was not 20000) to something like 30000 and it worked. Not sure if this helps everyone, but it is worth a try.

Thanks, it worked for me. In my case, because DNS (nameserver) doesn't config so Tabby take more than 20s to connect. So I set timeout to 30s then it worked but very slowly. Finally, I fix nameserver and return timeout to 20s (default by Tabby) then it connect right now.

set timeout to 30s(30000ms) valid

rationa1 avatar Feb 19 '24 08:02 rationa1