ssh2-promise
Version:
Promise wrapper around SSH2 library
13 lines (12 loc) • 350 B
TypeScript
interface TunnelConfig {
/** Remote Address to connect */
remoteAddr?: string;
/** Local port to bind to. By default, it will bind to a random port, if not passed */
localPort?: number;
/** Remote Port to connect */
remotePort?: number;
socks?: boolean;
/** Unique name */
name?: string;
}
export = TunnelConfig;