1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-27 04:25:05 +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 skipBanner?: boolean
disableDynamicTitle?: boolean disableDynamicTitle?: boolean
jumpHost?: string jumpHost?: string
agentForward?: boolean
algorithms?: {[t: string]: string[]} algorithms?: {[t: string]: string[]}
} }

View File

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

View File

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