perf: ssh登录支持openssh格式私钥、支持私钥密码

This commit is contained in:
xiaojunnuo
2024-06-19 00:21:13 +08:00
parent fd54c2ffac
commit 5c2c50839a
4 changed files with 27 additions and 11 deletions
@@ -32,9 +32,9 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
crtPath!: string;
@TaskInput({
title: '私钥保存路径',
helper: '需要有写入权限,路径要包含证书文件名',
helper: '需要有写入权限,路径要包含私钥文件名',
component: {
placeholder: '/root/deploy/nginx/cert.crt',
placeholder: '/root/deploy/nginx/cert.key',
},
})
keyPath!: string;