/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-ssh/src/api/interfaces.ts
55 строк
1 KB
Eugene
fixed #11280 - "warn on tab close" global SSH setting not working
17 май 2026, 20:54
Не верифицирован
17 май 2026, 20:54
6a0c0fd
Код
Авторство
О чём код?
import { ConnectableTerminalProfile, InputProcessingOptions, LoginScriptsOptions } from 'tabby-terminal' export enum SSHAlgorithmType { HMAC = 'hmac', KEX = 'kex', CIPHER = 'cipher', HOSTKEY = 'serverHostKey', COMPRESSION = 'compression', } export interface SSHProfile extends ConnectableTerminalProfile { options: SSHProfileOptions } export interface SSHProfileOptions extends LoginScriptsOptions { host: string port?: number user: string auth: null|'password'|'publicKey'|'agent'|'keyboardInteractive' password: string privateKeys: string[] keepaliveInterval: number keepaliveCountMax: number readyTimeout: number | null x11: boolean skipBanner: boolean jumpHost: string | null agentForward: boolean warnOnClose: boolean | null algorithms: Record<SSHAlgorithmType, string[]> proxyCommand: string | null forwardedPorts: ForwardedPortConfig[] socksProxyHost: string | null socksProxyPort: number | null httpProxyHost: string | null httpProxyPort: number | null reuseSession: boolean input: InputProcessingOptions, } export enum PortForwardType { Local = 'Local', Remote = 'Remote', Dynamic = 'Dynamic', } export interface ForwardedPortConfig { type: PortForwardType host: string port: number targetAddress: string targetPort: number description: string }