cppssh
Small C++20 SSH2 library.
File Explorer
- CMakeLists.txt
- cppsshexample.cpp
- cppssh.h
- export.h
- transportposix.cpp
- transportposix.h
- transportwin.cpp
- transportwin.h
- channel.cpp
- channel.h
- CMakeLists.txt
- connection.cpp
- connection.h
- cppssh.cpp
- crypto.cpp
- crypto.h
- cryptoalgos.h
- debug.h
- impl.cpp
- impl.h
- kex.cpp
- kex.h
- keys.cpp
- keys.h
- messages.h
- packet.cpp
- packet.h
- session.h
- subchannel.cpp
- subchannel.h
- transport.h
- transportcrypto.cpp
- transportcrypto.h
- transportimpl.cpp
- transportimpl.h
- transportthreaded.cpp
- transportthreaded.h
- x11channel.cpp
- x11channel.h
- CMakeLists.txt
- cppsshtestalgos.cpp
- cppsshtestkeys.cpp
- cppsshtestutil.cpp
- cppsshtestutil.h
- testalgos.py
- .gitignore
- CMakeLists.txt
- codeclean.sh
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
username
View Details ▼
username
Manage users.
Accessed in configuration mode.
username {{admin}} privilege 15 secret {{password}}
Set up an admin account:
write
View Details ▼
write
Write data to memory.
write memory
Write current configuration to memory:
write {{username}} {{terminal_id}}
Send a message to a given user on a given terminal ID:
write {{username}} {{terminal_id}}
Send a message to a given user on a given terminal ID:
timeout
View Details ▼
timeout
Run a command with a time limit.
timeout 3s sleep 10
Run `sleep 10` and terminate it after 3 seconds:
timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}
Send a signal to the command after the time limit expires (`TERM` by default, `kill -l` to list all signals):
timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}
Send verbose output to `stderr` showing signal sent upon timeout:
xauth
View Details ▼
xauth
Edit and display the authorization information used in connecting to the X server.
xauth -f {{path/to/file}}
Start interactive mode with a specific authority file (defaults to `~/.Xauthority`):
xauth info
Display information about the authority file:
xauth list
Display authorization entries for all the displays:
