sshSettingsTab.component.pug 1.8 KB
Newer Older
E
Eugene Pankov 已提交
1
h3 SSH
2 3 4

.form-line
    .header
E
Eugene Pankov 已提交
5
        .title(translate) Warn when closing active connections
6 7 8 9
    toggle(
        [(ngModel)]='config.store.ssh.warnOnClose',
        (ngModelChange)='config.save()',
    )
E
Eugene Pankov 已提交
10

11
.form-line(*ngIf='hostApp.platform === Platform.Windows')
E
Eugene Pankov 已提交
12
    .header
E
Eugene Pankov 已提交
13 14
        .title(translate) WinSCP path
        .description(translate) When WinSCP is detected, you can launch an SCP session from the context menu.
E
Eugene Pankov 已提交
15 16 17 18 19 20
    input.form-control(
        type='text',
        placeholder='Auto-detect',
        [(ngModel)]='config.store.ssh.winSCPPath',
        (ngModelChange)='config.save()',
    )
E
Eugene Pankov 已提交
21 22 23

.form-line(*ngIf='hostApp.platform === Platform.Windows')
    .header
E
Eugene Pankov 已提交
24 25
        .title(translate) Agent type
        .description(translate) Forces a specific SSH agent connection type.
E
Eugene Pankov 已提交
26 27 28 29
    select.form-control(
        [(ngModel)]='config.store.ssh.agentType',
        (ngModelChange)='config.save()',
    )
E
Eugene Pankov 已提交
30
        option(value='auto', translate) Automatic
E
Eugene Pankov 已提交
31
        option(value='pageant') Pageant
E
Eugene Pankov 已提交
32
        option(value='pipe', translate) Named pipe
E
Eugene Pankov 已提交
33 34 35

.form-line(*ngIf='config.store.ssh.agentType === "pipe"')
    .header
E
Eugene Pankov 已提交
36 37
        .title(translate) Agent pipe path
        .description(translate) Sets the SSH agent's named pipe path.
E
Eugene Pankov 已提交
38 39 40 41 42 43
    input.form-control(
        type='text',
        placeholder='Default: \\\\.\\pipe\\openssh-ssh-agent',
        [(ngModel)]='config.store.ssh.agentPath',
        (ngModelChange)='config.save()',
    )
44

45 46
.form-line
    .header
E
Eugene Pankov 已提交
47 48
        .title(translate) Override X11 display
        .description(translate) Path or address of the local X11 socket
49 50 51 52 53 54 55
    input.form-control(
        type='text',
        [placeholder]='defaultX11Display',
        [(ngModel)]='config.store.ssh.x11Display',
        (ngModelChange)='config.save()'
    )

E
Eugene Pankov 已提交
56
.alert.alert-info(translate) SSH connection management is now done through the #[strong Profiles & connections] tab