1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-25 19:17:39 +03:00

Compare commits

...

7 Commits

Author SHA1 Message Date
Chen Fansong
617a6dd472
Merge 7114e41fc7 into 9beab8994b 2024-10-09 09:07:17 +02:00
AuroraTea
9beab8994b
Docs: fix terminal type in readme (#9985) 2024-10-08 09:02:41 +02:00
Chen Fansong
7114e41fc7
Merge branch 'Eugeny:master' into master 2024-04-20 12:25:53 +08:00
cfs4819
53560854a2 Fix SSH X11 Repeated Handshake Issue 2024-03-26 10:56:06 +08:00
cfs4819
10c974f272 Fix SSH X11 Repeated Handshake Issue 2024-03-22 15:00:47 +08:00
cfs4819
31e35541ce Fix SSH X11 Repeated Handshake Issue 2024-03-22 14:57:28 +08:00
cfs4819
09ddd1f8b5 Fix SSH X11 Repeated Handshake Issue 2024-03-22 14:36:06 +08:00
12 changed files with 26 additions and 14 deletions

View File

@ -66,7 +66,7 @@ Diese README ist auch verfügbar in: <a href="./README.md">:gb: English</a> ·
![](docs/readme-terminal.png)
* Ein V220-Terminal + verschiedene Erweiterungen
* Ein VT220-Terminal + verschiedene Erweiterungen
* Mehrere verschachtelte, geteilte Fenster
* Tabs auf jeder Seite des Fensters
* Optional andockbares Fenster mit einem globalen Spawn-Hotkey ("Quake-Konsole")

View File

@ -67,7 +67,7 @@ Este fichero README está disponible en: <a href="./README.md">:gb: English</a>
![](docs/readme-terminal.png)
* Un terminal V220 + varias extensiones
* Un terminal VT220 + varias extensiones
* Múltiples paneles divididos anidados
* Pestañas en cualquier lado de la ventana
* Ventana acoplable opcional con una tecla de acceso directo global ("consola de Quake")

View File

@ -67,7 +67,7 @@ This README is also available in: <a href="./README.md">:gb: English</a> · <a
![](docs/readme-terminal.png)
* Terminal V220 + berbagai macam ekstensi
* Terminal VT220 + berbagai macam ekstensi
* Beberapa pembagian panel
* Tab di sisi mana pun dari jendela
* Jendela dockable opsional dengan hotkey spawn global ("Quake console")

View File

@ -68,7 +68,7 @@ Questo README è disponibile anche in: <a href="./README.md">:gb: English</a>
![](docs/readme-terminal.png)
* Un terminale V220 + vari estensioni
* Un terminale VT220 + vari estensioni
* Suddivisione in pannelli
* Schede su qualsiasi lato della finestra
* Finestra agganciabile opzionale con un tasto di scelta rapida ("Quake console")

View File

@ -74,7 +74,7 @@
![](docs/readme-terminal.png)
* V220ターミナル各種拡張機能
* VT220ターミナル各種拡張機能
* 複数ネストされたペイン分割に対応
* ウィンドウ内に自由に配置可能なタブ
* グローバルホットキーで呼び出せるドックウィンドウ機能("Quakeコンソール"

View File

@ -66,7 +66,7 @@ This README is also available in: <a href="./README.md">:gb: English</a> · <a
![](docs/readme-terminal.png)
* A V220 터미널 + 다양한 확장
* A VT220 터미널 + 다양한 확장
* 여러 개의 분할 창 중첩
* 모든 측면에 탭이 위치함
* 전역 스폰 단축키가 있는 도킹 가능한 윈도우 ("Quake console")

View File

@ -72,7 +72,7 @@ This README is also available in: <a href="./README.es-ES.md">:es: Spanish</a>
![](docs/readme-terminal.png)
* A V220 terminal + various extensions
* A VT220 terminal + various extensions
* Multiple nested split panes
* Tabs on any side of the window
* Optional dockable window with a global spawn hotkey ("Quake console")

View File

@ -75,7 +75,7 @@ Ten plik README jest również dostępny w językach: <a href="./README.md">:gb
![](docs/readme-terminal.png)
* Konsola V220 + wiele rozszerzeń
* Konsola VT220 + wiele rozszerzeń
* Wiele nakładających się podzielonych okien
* Okna na każdej stronie ekranu
* Opcjonalne dokowanie okna za pomocą skrótu ("Quake console")

View File

@ -67,7 +67,7 @@ Esse README também está disponível em: <a href="./README.md">:gb: English</a
![](docs/readme-terminal.png)
* Um terminal V220 + várias extensões
* Um terminal VT220 + várias extensões
* Múltiplos painéis divididos aninhados
* Guias em qualquer lado da janela
* Opção de minimizar para a barra de tarefas com uma tecla de atalho global ("Quake console")

View File

@ -67,7 +67,7 @@
![](docs/readme-terminal.png)
* Терминал V220 + различные дополнения;
* Терминал VT220 + различные дополнения;
* Деление окна на несколько панелей;
* Вкладки на любой стороне окна;
* Опционально закрепляемое окно с глобальной горячей клавишей для вызова («Quake console»);

View File

@ -66,7 +66,7 @@
![](docs/readme-terminal.png)
* 一个 V220 终端 + 各种插件
* 一个 VT220 终端 + 各种插件
* 多个嵌套的拆分窗格
* 可以将标签页设置在窗口的任意一侧
* 带有全局生成热键的可选可停靠窗口“Quake console”

View File

@ -205,10 +205,22 @@ export class SSHSession {
}
const hostVerifiedPromise: Promise<void> = new Promise((resolve, reject) => {
let hostkeyOld = ''
let isKeyVerified = false
ssh.on('handshake', async handshake => {
if (!await this.verifyHostKey(handshake)) {
this.ssh.end()
reject(new Error('Host key verification failed'))
if (isKeyVerified) {
resolve()
return
}
if (hostkeyOld !== handshake.serverHostKey) {
hostkeyOld = handshake.serverHostKey
if (!await this.verifyHostKey(handshake)) {
this.ssh.end()
reject(new Error('Host key verification failed'))
isKeyVerified = false
}else {
isKeyVerified = true
}
}
this.logger.info('Handshake complete:', handshake)
resolve()