| 96 | }); |
| 97 | |
| 98 | export interface Forward { |
| 99 | readonly localPort: number; |
| 100 | close(): void; |
| 101 | } |
| 102 | |
| 103 | /** SSH local-forward host:localPort → guest:guestPort; resolves once it binds. */ |
| 104 | export const guestTunnel = async (ip: string, guestPort: number): Promise<Forward> => { |
no outgoing calls
no test coverage detected