ssh proxy server to intercept ssh
Project description
ssh-proxy-server - intercept ssh traffic
ssh-proxy-server
is a python library and command line utility to intercept ssh traffic.
At this time, only ssh (terminal) and scp filetransfers are supported.
This library can be used in cyber defense exercises when communication with a compromised server and using credentials like usernames and passwords is not possible, because an attacker can use those to compromise more services and servers.
:warning: do not use this library in production environments! This tool is only for security audits!
Installation
pip install ssh-proxy-server
Start Proxy Server with password authentication
Start the server:
ssh-proxy-server
Connect to server:
ssh -p 10022 user@remotehost@proxyserver
Start Proxy Server with public key authentication
When public key authentication is used, the agent is forwarded to the remote server.
Start the server:
ssh-proxy-server --forward-agent
Connect to server:
ssh -A -p 10022 user@remotehost@proxyserver
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ssh_proxy_server-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53368abc36ae22dd8ad9773602b7a14d4cd4a42d2bdaabae65b3741c2bf1c0c7 |
|
MD5 | 61176e51a4de74849d99352c3c5056e4 |
|
BLAKE2b-256 | a20fb149b94afe34ff0456955dc7a12034ff0d63dface6b92621f77b60d4ca3d |