@microsoft/dev-tunnels-ssh-tcp
Version:
SSH TCP extensions library for Dev Tunnels
19 lines • 695 B
TypeScript
import { SshService } from '@microsoft/dev-tunnels-ssh';
/**
* Base class for services that receive SSH channels forwarded from a remote port.
*/
export declare abstract class RemotePortConnector extends SshService {
private port;
private forwarding;
/**
* IP address of the network interface bound by the remote listener.
*/
readonly remoteIPAddress: string;
/**
* Port that the remote server is listening on. If the request specified port 0, this
* property returns the actual available port that was chosen by the server.
*/
get remotePort(): number;
dispose(): void;
}
//# sourceMappingURL=remotePortConnector.d.ts.map