mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-01-25 16:46:32 +00:00
enable passphrase for ssh-privatekey
This commit is contained in:
parent
d593174649
commit
dc524327ba
@ -52,6 +52,10 @@
|
||||
<FileInput :file.sync='connection.sshOptions.privatekey' placeholder='SSH Private Key'></FileInput>
|
||||
</el-tooltip>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="Passphrase">
|
||||
<el-input v-model="connection.sshOptions.passphrase" type='password' autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<!-- SSL connection form -->
|
||||
|
||||
@ -40,6 +40,7 @@ export default {
|
||||
localPort: null,
|
||||
privateKey: sshOptions.privatekey ?
|
||||
fs.readFileSync(sshOptions.privatekey) : '',
|
||||
passphrase: sshOptions.passphrase
|
||||
};
|
||||
|
||||
const sshConfigRaw = JSON.parse(JSON.stringify(sshConfig));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user