smartssh/dist/smartssh.classes.ssh.d.ts

18 lines
480 B
TypeScript
Raw Normal View History

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