mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 上传到主机,支持socks代理
This commit is contained in:
@@ -18,7 +18,7 @@ export class SshAccess implements IAccess, ConnectConfig {
|
||||
host!: string;
|
||||
@AccessInput({
|
||||
title: '端口',
|
||||
value: '22',
|
||||
value: 22,
|
||||
component: {
|
||||
name: 'a-input-number',
|
||||
placeholder: '22',
|
||||
@@ -64,6 +64,17 @@ export class SshAccess implements IAccess, ConnectConfig {
|
||||
})
|
||||
passphrase!: string;
|
||||
|
||||
@AccessInput({
|
||||
title: '代理',
|
||||
helper: '代理配置,格式:socks5://$username:$password@$host:$port',
|
||||
component: {
|
||||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
},
|
||||
encrypt: false,
|
||||
})
|
||||
socksProxy!: string;
|
||||
|
||||
@AccessInput({
|
||||
title: '是否Windows',
|
||||
helper: '如果是Windows主机,请勾选此项',
|
||||
|
||||
Reference in New Issue
Block a user