UNPKG

webssh2-server

Version:

A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2

31 lines (30 loc) 812 B
export interface EnvironmentVariableMapping { path: string; type: 'string' | 'number' | 'boolean' | 'array' | 'preset'; description: string; } /** * Algorithm presets for SSH connections */ export interface AlgorithmPreset { cipher: string[]; kex: string[]; hmac: string[]; compress: string[]; serverHostKey: string[]; } /** * Load configuration from environment variables * @pure */ export declare function loadEnvironmentConfig(): Record<string, unknown>; /** * Get the complete environment variable mapping with descriptions * @pure */ export declare function getEnvironmentVariableMap(): Record<string, EnvironmentVariableMapping>; /** * Get all available algorithm presets * @pure */ export declare function getAlgorithmPresets(): Record<string, AlgorithmPreset>;