1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-26 03:51:49 +03:00

Re-added an option for Agent Forwarding

This commit is contained in:
Jonathan Beverley 2020-02-26 19:23:13 -05:00 committed by Eugene Pankov
parent 43958d88b8
commit 3aee24bdbd
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
3 changed files with 7 additions and 1 deletions

View File

@ -37,6 +37,7 @@ export interface SSHConnection {
skipBanner?: boolean
disableDynamicTitle?: boolean
jumpHost?: string
agentForward?: boolean
algorithms?: {[t: string]: string[]}
}

View File

@ -111,6 +111,11 @@
.title X11 forwarding
toggle([(ngModel)]='connection.x11')
.form-line
.header
.title Agent Forwarding
toggle([(ngModel)]='connection.agentForward')
.form-line
.header
.title Tab color

View File

@ -231,7 +231,7 @@ export class SSHService {
privateKey: privateKey || undefined,
tryKeyboard: true,
agent: agent || undefined,
agentForward: (!session.connection.auth || session.connection.auth === 'agent') && !!agent,
agentForward: session.connection.agentForward && !!agent,
keepaliveInterval: session.connection.keepaliveInterval,
keepaliveCountMax: session.connection.keepaliveCountMax,
readyTimeout: session.connection.readyTimeout,