Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajxchapman/sshreverseshell
/ endpoints
Endpoints
18 in github.com/ajxchapman/sshreverseshell
⨍
Functions
88
◇
Types & classes
12
↳
Endpoints
18
Route
test_add_flag
patch("sshshell.add_key")
server/test_sshshell.py:None
Route
test_authorized_keys_permissions
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_connection_flag
patch("sshshell.handle_connection")
server/test_sshshell.py:None
Route
test_creates_ssh_dir_with_correct_permissions
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_disconnect_via_ssh_original_command
patch("sshshell.handle_disconnect")
server/test_sshshell.py:None
Route
test_duplicate_key_rejected
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_key_from_file
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_key_id_comment_line
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_missing_authorized_keys_no_error
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_multiple_different_keys
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_nonexistent_key_no_error
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_nonexistent_user_exits_gracefully
patch("sshshell.pwd.getpwnam", side_effect=KeyError("nosuchuser"))
server/test_sshshell.py:None
Route
test_preserves_other_keys
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_remove_flag
patch("sshshell.remove_key")
server/test_sshshell.py:None
Route
test_removes_key_and_comment
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None
Route
test_transfer_via_ssh_original_command
patch("sshshell.handle_transfer")
server/test_sshshell.py:None
Route
test_user_flag_before_add
patch("sshshell.add_key")
server/test_sshshell.py:None
Route
test_writes_key_with_forced_command_and_restrictions
patch("sshshell.pwd.getpwnam")
server/test_sshshell.py:None