cmd/tsconnect: allow SSH username to be specified
Redoes the UI to be a form, with a username field and a host drop-down. Fixes #5139 Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:

committed by
Mihai Parparita

parent
47f91dd732
commit
c06758c83b
@ -17,11 +17,14 @@ declare global {
|
||||
logout(): void
|
||||
ssh(
|
||||
host: string,
|
||||
writeFn: (data: string) => void,
|
||||
setReadFn: (readFn: (data: string) => void) => void,
|
||||
rows: number,
|
||||
cols: number,
|
||||
onDone: () => void
|
||||
username: string,
|
||||
termConfig: {
|
||||
writeFn: (data: string) => void
|
||||
setReadFn: (readFn: (data: string) => void) => void
|
||||
rows: number
|
||||
cols: number
|
||||
onDone: () => void
|
||||
}
|
||||
): void
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user