Module client

Module client 

Expand description

Client implementation

EnumsΒ§

ReadWriteResult πŸ”’
Possible results when reading from the named pipe and writing to the current process’s stdinput.

FunctionsΒ§

build_ssh_arguments πŸ”’
Build the SSH arguments from the username, host, port, and config.
is_alt_shift_c_combination πŸ”’
Checks if a key event represents the Alt+Shift+C combination.
is_keep_alive_packet πŸ”’
Checks if a byte sequence represents a keep-alive packet.
launch_ssh_process πŸ”’
Launch the SSH process.
main
The entrypoint for the client subcommand with API dependency injection.
read_write_loop πŸ”’
Read all available [INPUT_RECORD_0] from the named pipe and write them to the console input buffer using the provided API.
replace_argument_placeholders πŸ”’
Replaces placeholders in SSH command arguments.
resolve_username πŸ”’
Resolve the username from the provided value or SSH config.
run πŸ”’
The main run loop of the client.
write_console_input πŸ”’
Write the given [INPUT_RECORD_0] to the console input buffer using the provided API.