mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-23 21:09:52 +00:00
Add an option for Agent Forwarding
I don't understand why this is on by default, let alone not configurable. Agent forwarding is a significant security concern, and buggy agent forwarding is the cause of a couple existing bugs.
This commit is contained in:
parent
a7687a6fc2
commit
6d187e8117
@ -36,6 +36,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[]}
|
||||||
}
|
}
|
||||||
|
@ -82,6 +82,11 @@
|
|||||||
.title X11 forwarding
|
.title X11 forwarding
|
||||||
toggle([(ngModel)]='connection.x11')
|
toggle([(ngModel)]='connection.x11')
|
||||||
|
|
||||||
|
.form-line
|
||||||
|
.header
|
||||||
|
.title Allow Agent Forwarding
|
||||||
|
toggle([(ngModel)]='connection.agentForward')
|
||||||
|
|
||||||
.form-line
|
.form-line
|
||||||
.header
|
.header
|
||||||
.title Tab color
|
.title Tab color
|
||||||
|
@ -195,7 +195,7 @@ export class SSHService {
|
|||||||
privateKey: privateKey || undefined,
|
privateKey: privateKey || undefined,
|
||||||
tryKeyboard: true,
|
tryKeyboard: true,
|
||||||
agent: agent || undefined,
|
agent: agent || undefined,
|
||||||
agentForward: !!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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user