mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 16:42:19 +00:00
Add a host and group toggle for bastions that allow one session channel per TCP connection. After the handshake, BHostSSH, TERM-SSHD, and CLOUDBILITY take that path automatically. File transfer uses a separate SFTP login, and the interactive terminal is not given another exec, SFTP, copy/split, or port-forward channel. The manual toggle remains for bastions that still advertise OpenSSH.
18 lines
796 B
TypeScript
18 lines
796 B
TypeScript
declare module "./singleChannelSshBanner.shared.cjs" {
|
|
export function remoteSoftwareRequiresSingleChannel(remoteSshVersion?: string): boolean;
|
|
export function remoteDisallowsChunkedChannelWrite(remoteSshVersion?: string): boolean;
|
|
export function optionsForPeerSingleChannel<T extends { singleChannelSsh?: boolean }>(
|
|
options: T,
|
|
conn?: { _remoteVer?: string } | null,
|
|
): T;
|
|
}
|
|
|
|
declare module "@/domain/singleChannelSshBanner.shared.cjs" {
|
|
export function remoteSoftwareRequiresSingleChannel(remoteSshVersion?: string): boolean;
|
|
export function remoteDisallowsChunkedChannelWrite(remoteSshVersion?: string): boolean;
|
|
export function optionsForPeerSingleChannel<T extends { singleChannelSsh?: boolean }>(
|
|
options: T,
|
|
conn?: { _remoteVer?: string } | null,
|
|
): T;
|
|
}
|