smartssh/dist/smartssh.classes.sshconfig.d.ts

18 lines
446 B
TypeScript
Raw Normal View History

2016-11-23 11:38:38 +00:00
/// <reference types="q" />
import 'typings-global';
import { SshKey } from './smartssh.classes.sshkey';
export declare class SshConfig {
2016-06-28 00:10:51 +00:00
private _sshKeyArray;
2016-06-25 00:29:34 +00:00
constructor(sshKeyArrayArg: SshKey[]);
/**
2016-06-25 00:53:05 +00:00
* stores a config file
2016-06-25 00:29:34 +00:00
*/
2016-11-23 11:38:38 +00:00
store(dirPathArg: string): Q.Promise<{}>;
read(dirPathArg: any): Q.Promise<{}>;
2016-06-25 00:29:34 +00:00
}
export interface configObject {
2016-06-25 13:30:57 +00:00
configString: string;
2016-06-25 00:29:34 +00:00
authorized: boolean;
sshKey: SshKey;
}