This project establishes an SSH connection using obfuscation and monitors network traffic. It includes features such as handling SIGINT for graceful disconnection and statistics on data sent/received over the network.
If you are looking for Obfuscated SSH Service - Server, go to https://github.com/teal33t/obfuscated-openssh-server
- SSH Connection: Connects to a remote server using SSH with specified configurations.
- Obfuscation: Supports keyword obfuscation for SSH traffic.
- SOCKS Proxy: Supports configuring a SOCKS proxy.
- Traffic Monitoring: Monitors network traffic (upload and download speeds as well as total data transferred).
- Graceful Disconnect: Handles SIGINT signals to terminate the connection gracefully.
- Statistics Reset: Resets traffic statistics when a new connection is established.
- Python 3.x
sshpass
psutil
Configure your SSH connection settings in a config.ini
file. The config.ini
should be structured as follows:
[SSH]
PORT = 8443
OBFUSCATE_KEYWORD = your-keyword-on-obfuscated-server
SOCKS_PROXY = 0.0.0.0:1080
USER = your-username-on-obfuscated-server
SERVER = your-ip
KEY = ~/.ssh/id_rsa
PASSWORD = your-password-on-obfuscated-server
-
Clone the Repository
git clone https://github.com/teal33t/obfuscated-ssh-client.git cd obfuscated-ssh-client
-
Install Dependencies
pip install -r requirements.txt
Debian/Ubuntu:
apt-add-repository ppa:zinglau/obfuscated-openssh apt update apt install -y ssh #install obfuscated-openssh apt install sshpass #install sshpass
-
Update Configuration
Ensure the
config.ini
file contains the correct settings for your SSH connection. -
Run the Script
python client.py
-
Traffic Monitoring
Once connected, the script will display upload and download speeds, total data sent and received, and elapsed time.
- The script gracefully handles SIGINT signals, ensuring the SSH connection is properly terminated before exiting.
This project is licensed under the MIT License - see the LICENSE
file for details.
- Thanks to the contributors of
psutil
andsshpass
for their great tools. - Inspired by various open-source projects for secure SSH connections.