Skip to main content

ssh proxy server to intercept ssh

Project description

ssh-proxy-server - intercept ssh traffic

Github version PyPI version Supported Python versions PyPI downloads GitHub

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssh_proxy_server-0.0.2.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

ssh_proxy_server-0.0.2-py3-none-any.whl (26.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page