mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 22:14:55 +00:00
lint
This commit is contained in:
@@ -514,7 +514,7 @@ export class SSHSession {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (method.type === 'publickey' && method.contents) {
|
if (method.type === 'publickey') {
|
||||||
try {
|
try {
|
||||||
const key = await this.loadPrivateKey(method.name, method.contents)
|
const key = await this.loadPrivateKey(method.name, method.contents)
|
||||||
const result = await this.ssh.authenticateWithKeyPair(this.authUsername, key)
|
const result = await this.ssh.authenticateWithKeyPair(this.authUsername, key)
|
||||||
|
Reference in New Issue
Block a user