cmd/tsconnect: expose runSSHSession in npm package

Move it to lib/ so that it can be used in both the app and the package.

Updates #5415

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
Mihai Parparita
2022-08-25 16:17:50 -07:00
committed by Mihai Parparita
parent e4b5b92b82
commit 7d1357162e
3 changed files with 55 additions and 52 deletions

View File

@@ -37,3 +37,5 @@ export async function createIPN(config: IPNPackageConfig): Promise<IPN> {
return newIPN(config)
}
export { runSSHSession } from "../lib/ssh"