@microsoft/dev-tunnels-ssh
Version:
SSH library for Dev Tunnels
21 lines • 950 B
TypeScript
import { SshSession } from './sshSession';
import { SshSessionConfiguration } from './sshSessionConfiguration';
import { SshServerCredentials } from './sshCredentials';
/**
* The server side of an SSH session. Extends the base `SshSession` class
* to support host authentication.
*/
export declare class SshServerSession extends SshSession {
private readonly reconnectableSessions?;
constructor(config: SshSessionConfiguration, reconnectableSessions?: SshServerSession[]);
private readonly clientAuthenticatedEmitter;
readonly onClientAuthenticated: import("vscode-jsonrpc").Event<void>;
private readonly reconnectedEmitter;
readonly onReconnected: import("vscode-jsonrpc").Event<void>;
/**
* Gets or sets credentials and/or credential callbacks for authenticating the session.
*/
credentials: SshServerCredentials;
dispose(): void;
}
//# sourceMappingURL=sshServerSession.d.ts.map