You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ honeypots --setup ssh --auto
[INFO] For updates, check https://github.com/qeeqbox/honeypots
[WARNING] Using system or well-known ports requires higher privileges (E.g. sudo -E)
[INFO] Use [Enter] to exit or python3 -m honeypots --kill
[INFO] Parsing honeypot [normal]
{"action": "process", "dest_ip": "0.0.0.0", "dest_port": "34877", "server": "ssh_server", "src_ip": "0.0.0.0", "src_port": "34877", "stat
us": "success", "timestamp": "2024-09-26T22:21:24.306890"}
[INFO] servers ssh running...
[INFO] Everything looks good!
SSH command from test client
$ ssh -p 34877 -v [email protected]
OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to honeypot.host port 34877.
debug1: Connection established.
<snipped>
debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
Console output after connecting to honeypot from client:
{"action": "connection", "dest_ip": "0.0.0.0", "dest_port": "34877", "server": "ssh_server", "src_ip": "999.999.999.999", "src_port": "55094", "timestamp": "2024-09-26T22:21:38.737264"}
Exception ignored in thread started by: <function QSSHServer.server_main.<locals>.handle_connection at 0x7ca7d85cb060>
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/honeypots/ssh_server.py", line 166, in handle_connection
session.start_server(server=ssh_handle)
File "/usr/lib/python3.12/site-packages/paramiko/transport.py", line 804, in start_server
raise Exception("Disabled by Gentoo for security reasons. Enable with 'server' USE flag")
Exception: Disabled by Gentoo for security reasons. Enable with 'server' USE flag
{"action": "connection", "dest_ip": "0.0.0.0", "dest_port": "34877", "server": "ssh_server", "src_ip": "999.999.999.999", "src_port": "55098", "timestamp": "2024-09-26T22:21:43.399479"}
Exception ignored in thread started by: <function QSSHServer.server_main.<locals>.handle_connection at 0x7ca7d85cb060>
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/honeypots/ssh_server.py", line 166, in handle_connection
session.start_server(server=ssh_handle)
File "/usr/lib/python3.12/site-packages/paramiko/transport.py", line 804, in start_server
raise Exception("Disabled by Gentoo for security reasons. Enable with 'server' USE flag")
Exception: Disabled by Gentoo for security reasons. Enable with 'server' USE flag
{"action": "connection", "dest_ip": "0.0.0.0", "dest_port": "34877", "server": "ssh_server", "src_ip": "999.999.999.999", "src_port": "42550", "timestamp": "2024-09-26T22:21:59.166838"}
Exception ignored in thread started by: <function QSSHServer.server_main.<locals>.handle_connection at 0x7ca7d85cb060>
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/honeypots/ssh_server.py", line 166, in handle_connection
session.start_server(server=ssh_handle)
File "/usr/lib/python3.12/site-packages/paramiko/transport.py", line 804, in start_server
raise Exception("Disabled by Gentoo for security reasons. Enable with 'server' USE flag")
Exception: Disabled by Gentoo for security reasons. Enable with 'server' USE flag
The text was updated successfully, but these errors were encountered:
Command to start ssh server
SSH command from test client
Console output after connecting to honeypot from client:
The text was updated successfully, but these errors were encountered: