smartssh/dist/smartssh.classes.sshinstance.d.ts

19 lines
513 B
TypeScript
Raw Normal View History

import "typings-global";
import { SshKey } from "./smartssh.classes.sshkey";
2016-06-01 00:31:29 +00:00
export declare class SshInstance {
private sshConfig;
private sshDir;
private sshKeys;
private sshSync;
constructor(optionsArg?: {
sshDir?: string;
sshSync?: boolean;
});
addKey(sshKeyArg: SshKey): void;
getKey(hostArg: string): SshKey;
2016-06-01 00:48:38 +00:00
getKeys(): SshKey[];
removeKey(sshKeyArg: SshKey): void;
replaceKey(sshKeyOldArg: SshKey, sshKeyNewArg: SshKey): void;
sync(): void;
}