mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 05:20:01 +00:00
Update ssh.ts
This commit is contained in:
parent
23280c2143
commit
64f8e033c4
@ -11,7 +11,6 @@ import { ConfigService, FileProvidersService, HostAppService, NotificationsServi
|
||||
import { BaseSession } from 'tabby-terminal'
|
||||
import { Socket } from 'net'
|
||||
import { Client, ClientChannel, SFTPWrapper } from 'ssh2'
|
||||
import type { Prompt } from 'ssh2-streams'
|
||||
import { Subject, Observable } from 'rxjs'
|
||||
import { ProxyCommandStream, SocksProxyStream } from '../services/ssh.service'
|
||||
import { PasswordStorageService } from '../services/passwordStorage.service'
|
||||
@ -23,6 +22,11 @@ import { X11Socket } from './x11'
|
||||
|
||||
const WINDOWS_OPENSSH_AGENT_PIPE = '\\\\.\\pipe\\openssh-ssh-agent'
|
||||
|
||||
export interface Prompt {
|
||||
prompt: string
|
||||
echo: boolean
|
||||
}
|
||||
|
||||
interface AuthMethod {
|
||||
type: 'none'|'publickey'|'agent'|'password'|'keyboard-interactive'|'hostbased'
|
||||
name?: string
|
||||
|
Loading…
x
Reference in New Issue
Block a user