This project sets up an SSH service with obfuscated SSH support. It uses Docker to containerize the service and provides an example of how to connect using a client with SSH obfuscation.
If you are looking for Obfuscated SSH Service - Client, go to https://github.com/teal33t/obfuscated-openssh-client
- Docker and Docker Compose installed
- A basic understanding of SSH
- Installing Obfuscated OpenSSH on your client
-
Clone the repository:
git clone https://github.com/teal33t/obfuscated-openssh-tunnel cd https://github.com/teal33t/obfuscated-openssh-tunnel
-
Build and start the container:
docker-compose up --build -d
-
Ports:
- Standard SSH port:
2223
- Obfuscated SSH port:
8443
- Standard SSH port:
-
Volumes:
./sshd_config:/etc/ssh/sshd_config:ro
- The SSH configuration file is mounted read-only from the host.
To connect to the obfuscated SSH service, you should install obfuscated-ssh on your client machine
apt-add-repository ppa:zinglau/obfuscated-openssh
apt-get update
apt-get install ssh
And for connecting:
ssh -p 8443 -o ObfuscateKeyword=123qwer -D 0.0.0.0:1080 sshuser@your-server-ip
-p 8443
: Specifies the port to connect to (obfuscated port)-o ObfuscateKeyword=123qwer
: Uses the obfuscation keyword configured insshd_config
, change it use a secure phrase.-D 0.0.0.0:1080
: Sets up a SOCKS proxy on port1080
sshuser@your-server-ip
: Connects to the SSH service assshuser
- Ensure Docker is running.
- Verify that ports
2223
and8443
are open and not used by other services. - Check the logs for any errors:
docker logs <container-id>
This project is licensed under the MIT License.
Feel free to contribute to this project by submitting issues or pull requests.