MCPcopy Create free account

hub / github.com/ajxchapman/sshreverseshell / functions

Functions88 in github.com/ajxchapman/sshreverseshell

↓ 9 callersMethodfileno
(self)
server/test_sshshell.py:27
↓ 5 callersMethod_read_auth_keys
(self)
server/test_sshshell.py:103
↓ 4 callersMethod_touch
(self, name)
server/test_sshshell.py:231
↓ 3 callersFunctioncleanup
(*_)
server/sshshell.py:181
↓ 3 callersFunctionread_timeout
Read from a file descriptor with a timeout.
server/test_sshshell.py:31
↓ 2 callersMethod_auth_keys_path
(self)
server/test_sshshell.py:100
↓ 2 callersMethod_auth_keys_path
(self)
server/test_sshshell.py:180
↓ 2 callersMethod_read_auth_keys
(self)
server/test_sshshell.py:183
↓ 2 callersFunctionformatPublicKey
(pub ssh.PublicKey)
client/client.go:49
↓ 1 callersFunctionDialWithKey
DialWithKey connects to the SSH server using the provided signer.
client/client.go:54
↓ 1 callersFunctionStart
Start pipes a local shell bidirectionally through the SSH session.
client/client.go:66
↓ 1 callersFunctionadd_key
(user, pubkey)
server/sshshell.py:81
↓ 1 callersFunctionforward
Bidirectional forwarding without raw terminal.
server/sshshell.py:280
↓ 1 callersFunctionforward_raw
Bidirectional forwarding with raw terminal for full TTY support.
server/sshshell.py:304
↓ 1 callersFunctiongenerateKey
generateKey returns a deterministic Ed25519 key pair derived from the system seed.
client/client.go:35
↓ 1 callersFunctionhandle_connection
Forced command handler - bridges SSH channel to a local TCP socket.
server/sshshell.py:161
↓ 1 callersFunctionhandle_disconnect
Clean up sessions for the disconnecting client.
server/sshshell.py:260
↓ 1 callersFunctionhandle_transfer
Receive a file from the remote.
server/sshshell.py:232
↓ 1 callersFunctionmain
()
server/sshshell.py:413
↓ 1 callersFunctionoperator_shell
Operator interface - list sessions and connect.
server/sshshell.py:346
↓ 1 callersFunctionpty_script
(user)
server/sshshell.py:21
↓ 1 callersFunctionrc_script
(rows, cols)
server/sshshell.py:45
↓ 1 callersFunctionremove_key
(user, pubkey)
server/sshshell.py:123
↓ 1 callersFunctionseedFromSystem
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 callersFunctionusage
(user)
server/sshshell.py:61
Method__init__
(self, fd)
server/test_sshshell.py:24
Functionmain
()
client/client.go:103
Functionon_resize
(signum, frame)
server/sshshell.py:313
Methodrun
()
server/test_sshshell.py:391
Methodrun
()
server/test_sshshell.py:485
MethodsetUp
(self)
server/test_sshshell.py:88
MethodsetUp
(self)
server/test_sshshell.py:168
MethodsetUp
(self)
server/test_sshshell.py:223
MethodsetUp
(self)
server/test_sshshell.py:267
MethodsetUp
(self)
server/test_sshshell.py:469
MethodsetUp
(self)
server/test_sshshell.py:602
Methodstimulate
()
server/test_sshshell.py:354
MethodtearDown
(self)
server/test_sshshell.py:97
MethodtearDown
(self)
server/test_sshshell.py:177
MethodtearDown
(self)
server/test_sshshell.py:228
MethodtearDown
(self)
server/test_sshshell.py:272
MethodtearDown
(self)
server/test_sshshell.py:478
MethodtearDown
(self)
server/test_sshshell.py:608
Methodtest_add_flag
(self, mock_pw, mock_add)
server/test_sshshell.py:669
Methodtest_authorized_keys_permissions
(self, mock_pw)
server/test_sshshell.py:116
Methodtest_connection_flag
(self, mock_conn)
server/test_sshshell.py:686
Methodtest_contains_pty_spawn_methods
(self)
server/test_sshshell.py:49
Methodtest_creates_ssh_dir_with_correct_permissions
(self, mock_pw)
server/test_sshshell.py:108
Methodtest_dedup_appends_counter
(self)
server/test_sshshell.py:289
Methodtest_dedup_increments_counter
(self)
server/test_sshshell.py:304
Methodtest_defines_transfer_function
(self)
server/test_sshshell.py:66
Methodtest_different_dimensions
(self)
server/test_sshshell.py:78
Methodtest_directories_excluded_from_listing
(self)
server/test_sshshell.py:618
Methodtest_disconnect_via_ssh_original_command
(self, mock_disconnect)
server/test_sshshell.py:709
Methodtest_duplicate_key_rejected
(self, mock_pw)
server/test_sshshell.py:142
Methodtest_ends_with_disconnect_and_exit
(self)
server/test_sshshell.py:55
Methodtest_full_session_lifecycle
(self)
server/test_sshshell.py:481
Methodtest_injects_terminal_dimensions
(self)
server/test_sshshell.py:74
Methodtest_invalid_choice_rejected
(self)
server/test_sshshell.py:627
Methodtest_key_from_file
(self, mock_pw)
server/test_sshshell.py:158
Methodtest_key_id_comment_line
(self, mock_pw)
server/test_sshshell.py:134
Methodtest_missing_authorized_keys_no_error
(self, mock_pw)
server/test_sshshell.py:213
Methodtest_missing_session_dir_is_noop
(self)
server/test_sshshell.py:256
Methodtest_multiple_different_keys
(self, mock_pw)
server/test_sshshell.py:149
Methodtest_no_filename_uses_timestamp
(self)
server/test_sshshell.py:320
Methodtest_no_sessions_prints_message
(self)
server/test_sshshell.py:611
Methodtest_no_ssh_client_is_noop
(self)
server/test_sshshell.py:249
Methodtest_nonexistent_key_no_error
(self, mock_pw)
server/test_sshshell.py:207
Methodtest_nonexistent_user_exits_gracefully
(self, mock_pw)
server/test_sshshell.py:716
Methodtest_out_of_range_choice_rejected
(self)
server/test_sshshell.py:638
Methodtest_port_skips_occupied_sessions
(self)
server/test_sshshell.py:560
Methodtest_preserves_other_keys
(self, mock_pw)
server/test_sshshell.py:197
Methodtest_remove_flag
(self, mock_pw, mock_rm)
server/test_sshshell.py:678
Methodtest_removes_key_and_comment
(self, mock_pw)
server/test_sshshell.py:188
Methodtest_removes_matching_ip_sessions
(self)
server/test_sshshell.py:236
Methodtest_runs_id
(self)
server/test_sshshell.py:71
Methodtest_saves_file_with_sanitized_name
(self)
server/test_sshshell.py:275
Methodtest_session_file_contains_env
(self)
server/test_sshshell.py:524
Methodtest_sets_term
(self)
server/test_sshshell.py:63
Methodtest_sigwinch_sends_stty_to_socket
SIGWINCH triggers a stty resize command through the socket.
server/test_sshshell.py:340
Methodtest_socket_close_triggers_exit
(self)
server/test_sshshell.py:439
Methodtest_socket_to_stdout
(self)
server/test_sshshell.py:386
Methodtest_stdin_to_socket
(self)
server/test_sshshell.py:412
Methodtest_substitutes_user
(self)
server/test_sshshell.py:44
Methodtest_transfer_via_ssh_original_command
(self, mock_transfer)
server/test_sshshell.py:702
Methodtest_user_flag_before_add
(self, mock_pw, mock_add)
server/test_sshshell.py:694
Methodtest_writes_key_with_forced_command_and_restrictions
(self, mock_pw)
server/test_sshshell.py:122
Methodtest_zero_choice_rejected
(self)
server/test_sshshell.py:649