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

19 lines
551 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;
2016-06-13 22:27:55 +00:00
protected sshKeyArray: SshKey[];
private sshSync;
constructor(optionsArg?: {
2016-06-01 01:57:17 +00:00
sshDirPath?: string;
sshSync?: boolean;
});
addKey(sshKeyArg: SshKey): void;
removeKey(sshKeyArg: SshKey): void;
replaceKey(sshKeyOldArg: SshKey, sshKeyNewArg: SshKey): void;
2016-06-01 01:57:17 +00:00
getKey(hostArg: string): SshKey;
sshKeys: SshKey[];
sync(directionArg: string): void;
}