Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajxchapman/sshreverseshell
/ functions
Functions
88 in github.com/ajxchapman/sshreverseshell
⨍
Functions
88
◇
Types & classes
12
↳
Endpoints
18
↓ 9 callers
Method
fileno
(self)
server/test_sshshell.py:27
↓ 5 callers
Method
_read_auth_keys
(self)
server/test_sshshell.py:103
↓ 4 callers
Method
_touch
(self, name)
server/test_sshshell.py:231
↓ 3 callers
Function
cleanup
(*_)
server/sshshell.py:181
↓ 3 callers
Function
read_timeout
Read from a file descriptor with a timeout.
server/test_sshshell.py:31
↓ 2 callers
Method
_auth_keys_path
(self)
server/test_sshshell.py:100
↓ 2 callers
Method
_auth_keys_path
(self)
server/test_sshshell.py:180
↓ 2 callers
Method
_read_auth_keys
(self)
server/test_sshshell.py:183
↓ 2 callers
Function
formatPublicKey
(pub ssh.PublicKey)
client/client.go:49
↓ 1 callers
Function
DialWithKey
DialWithKey connects to the SSH server using the provided signer.
client/client.go:54
↓ 1 callers
Function
Start
Start pipes a local shell bidirectionally through the SSH session.
client/client.go:66
↓ 1 callers
Function
add_key
(user, pubkey)
server/sshshell.py:81
↓ 1 callers
Function
forward
Bidirectional forwarding without raw terminal.
server/sshshell.py:280
↓ 1 callers
Function
forward_raw
Bidirectional forwarding with raw terminal for full TTY support.
server/sshshell.py:304
↓ 1 callers
Function
generateKey
generateKey returns a deterministic Ed25519 key pair derived from the system seed.
client/client.go:35
↓ 1 callers
Function
handle_connection
Forced command handler - bridges SSH channel to a local TCP socket.
server/sshshell.py:161
↓ 1 callers
Function
handle_disconnect
Clean up sessions for the disconnecting client.
server/sshshell.py:260
↓ 1 callers
Function
handle_transfer
Receive a file from the remote.
server/sshshell.py:232
↓ 1 callers
Function
main
()
server/sshshell.py:413
↓ 1 callers
Function
operator_shell
Operator interface - list sessions and connect.
server/sshshell.py:346
↓ 1 callers
Function
pty_script
(user)
server/sshshell.py:21
↓ 1 callers
Function
rc_script
(rows, cols)
server/sshshell.py:45
↓ 1 callers
Function
remove_key
(user, pubkey)
server/sshshell.py:123
↓ 1 callers
Function
seedFromSystem
seedFromSystem derives a deterministic 32-byte seed from stable machine identifiers so the same host always produces the same key pair.
client/client.go:18
↓ 1 callers
Function
usage
(user)
server/sshshell.py:61
Method
__init__
(self, fd)
server/test_sshshell.py:24
Function
main
()
client/client.go:103
Function
on_resize
(signum, frame)
server/sshshell.py:313
Method
run
()
server/test_sshshell.py:391
Method
run
()
server/test_sshshell.py:485
Method
setUp
(self)
server/test_sshshell.py:88
Method
setUp
(self)
server/test_sshshell.py:168
Method
setUp
(self)
server/test_sshshell.py:223
Method
setUp
(self)
server/test_sshshell.py:267
Method
setUp
(self)
server/test_sshshell.py:469
Method
setUp
(self)
server/test_sshshell.py:602
Method
stimulate
()
server/test_sshshell.py:354
Method
tearDown
(self)
server/test_sshshell.py:97
Method
tearDown
(self)
server/test_sshshell.py:177
Method
tearDown
(self)
server/test_sshshell.py:228
Method
tearDown
(self)
server/test_sshshell.py:272
Method
tearDown
(self)
server/test_sshshell.py:478
Method
tearDown
(self)
server/test_sshshell.py:608
Method
test_add_flag
(self, mock_pw, mock_add)
server/test_sshshell.py:669
Method
test_authorized_keys_permissions
(self, mock_pw)
server/test_sshshell.py:116
Method
test_connection_flag
(self, mock_conn)
server/test_sshshell.py:686
Method
test_contains_pty_spawn_methods
(self)
server/test_sshshell.py:49
Method
test_creates_ssh_dir_with_correct_permissions
(self, mock_pw)
server/test_sshshell.py:108
Method
test_dedup_appends_counter
(self)
server/test_sshshell.py:289
Method
test_dedup_increments_counter
(self)
server/test_sshshell.py:304
Method
test_defines_transfer_function
(self)
server/test_sshshell.py:66
Method
test_different_dimensions
(self)
server/test_sshshell.py:78
Method
test_directories_excluded_from_listing
(self)
server/test_sshshell.py:618
Method
test_disconnect_via_ssh_original_command
(self, mock_disconnect)
server/test_sshshell.py:709
Method
test_duplicate_key_rejected
(self, mock_pw)
server/test_sshshell.py:142
Method
test_ends_with_disconnect_and_exit
(self)
server/test_sshshell.py:55
Method
test_full_session_lifecycle
(self)
server/test_sshshell.py:481
Method
test_injects_terminal_dimensions
(self)
server/test_sshshell.py:74
Method
test_invalid_choice_rejected
(self)
server/test_sshshell.py:627
Method
test_key_from_file
(self, mock_pw)
server/test_sshshell.py:158
Method
test_key_id_comment_line
(self, mock_pw)
server/test_sshshell.py:134
Method
test_missing_authorized_keys_no_error
(self, mock_pw)
server/test_sshshell.py:213
Method
test_missing_session_dir_is_noop
(self)
server/test_sshshell.py:256
Method
test_multiple_different_keys
(self, mock_pw)
server/test_sshshell.py:149
Method
test_no_filename_uses_timestamp
(self)
server/test_sshshell.py:320
Method
test_no_sessions_prints_message
(self)
server/test_sshshell.py:611
Method
test_no_ssh_client_is_noop
(self)
server/test_sshshell.py:249
Method
test_nonexistent_key_no_error
(self, mock_pw)
server/test_sshshell.py:207
Method
test_nonexistent_user_exits_gracefully
(self, mock_pw)
server/test_sshshell.py:716
Method
test_out_of_range_choice_rejected
(self)
server/test_sshshell.py:638
Method
test_port_skips_occupied_sessions
(self)
server/test_sshshell.py:560
Method
test_preserves_other_keys
(self, mock_pw)
server/test_sshshell.py:197
Method
test_remove_flag
(self, mock_pw, mock_rm)
server/test_sshshell.py:678
Method
test_removes_key_and_comment
(self, mock_pw)
server/test_sshshell.py:188
Method
test_removes_matching_ip_sessions
(self)
server/test_sshshell.py:236
Method
test_runs_id
(self)
server/test_sshshell.py:71
Method
test_saves_file_with_sanitized_name
(self)
server/test_sshshell.py:275
Method
test_session_file_contains_env
(self)
server/test_sshshell.py:524
Method
test_sets_term
(self)
server/test_sshshell.py:63
Method
test_sigwinch_sends_stty_to_socket
SIGWINCH triggers a stty resize command through the socket.
server/test_sshshell.py:340
Method
test_socket_close_triggers_exit
(self)
server/test_sshshell.py:439
Method
test_socket_to_stdout
(self)
server/test_sshshell.py:386
Method
test_stdin_to_socket
(self)
server/test_sshshell.py:412
Method
test_substitutes_user
(self)
server/test_sshshell.py:44
Method
test_transfer_via_ssh_original_command
(self, mock_transfer)
server/test_sshshell.py:702
Method
test_user_flag_before_add
(self, mock_pw, mock_add)
server/test_sshshell.py:694
Method
test_writes_key_with_forced_command_and_restrictions
(self, mock_pw)
server/test_sshshell.py:122
Method
test_zero_choice_rejected
(self)
server/test_sshshell.py:649