-
Stefy Lanza (nextime / spora ) authored
- Create wsssh.h header file with configuration structures and function declarations - Implement wsssh.c with comprehensive SSH wrapper functionality: * Parse command line arguments (--help, --clientid, --wssshd-host, --wssshd-port, --debug, --tunnel, --tunnel-control) * Parse target string in format: user[@clientid[.wssshd-host[:sshstring]]] * Build ProxyCommand using wsssht --pipe with appropriate options * Find wsssht in PATH or same directory as wsssh * Construct and execute SSH command with ProxyCommand * Debug mode shows constructed command without executing - Add wsssh to build system (configure.sh and Makefile) - Update debian/control to include wsssh in package description - Create comprehensive man page (man/wsssh.1) with usage examples - Tested functionality with various command line options wsssh provides a convenient wrapper around SSH that automatically sets up WebSocket tunneling through wsssht, making it easy to use SSH with WebSocket relays without manual ProxyCommand configuration.
382c9c46