hivessh
Version:
HiveSsh is an innovative library designed to streamline SSH2 connections and simplify task execution on Linux servers.
12 lines • 647 B
TypeScript
export type HostId = `${string}@${string}`;
export declare function parseHostId(settings: {
host: string;
user?: string;
port?: number;
}): HostId;
export declare const allowedRuleChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.:";
export declare const allowedIdRuleChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@";
export declare function throwCharsetError(value: string, chatSet: string): void | never;
export declare function matchesCharset(value: string, chatSet: string): boolean;
export declare function isHostId(value: any): value is HostId;
//# sourceMappingURL=HostId.d.ts.map