smartssh/dist/smartssh.classes.sshinstance.d.ts
2016-06-14 00:27:55 +02:00

19 lines
551 B
TypeScript

import "typings-global";
import { SshKey } from "./smartssh.classes.sshkey";
export declare class SshInstance {
private sshConfig;
private sshDir;
protected sshKeyArray: SshKey[];
private sshSync;
constructor(optionsArg?: {
sshDirPath?: string;
sshSync?: boolean;
});
addKey(sshKeyArg: SshKey): void;
removeKey(sshKeyArg: SshKey): void;
replaceKey(sshKeyOldArg: SshKey, sshKeyNewArg: SshKey): void;
getKey(hostArg: string): SshKey;
sshKeys: SshKey[];
sync(directionArg: string): void;
}