smartssh/dist/smartssh.classes.sshinstance.d.ts
2016-06-01 04:18:31 +02:00

19 lines
539 B
TypeScript

import "typings-global";
import { SshKey } from "./smartssh.classes.sshkey";
export declare class SshInstance {
private sshConfig;
private sshDir;
private sshKeyArray;
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;
}