• Stefy Lanza (nextime / spora )'s avatar
    Fix critical architectural issue in wssshc tunnel handling · 0ecabb18
    Stefy Lanza (nextime / spora ) authored
    - Fixed wssshc to act as SSH client instead of SSH server
    - wssshc now connects to target SSH server (localhost:22) when receiving tunnel_request
    - Removed incorrect SSH server listening code that was binding to port 22
    - Implemented proper SSH client connection forwarding
    - Fixed 'Address already in use' error by removing port 22 binding conflict
    - Corrected tunnel architecture: wssshc → SSH server, not SSH server → wssshc
    - Updated handle_tunnel_request to establish SSH client connection to target
    - Removed accept_ssh_connection function (not needed for client mode)
    - Fixed bidirectional forwarding between WebSocket and SSH client connection
    - Resolved socket lifecycle issues by using correct connection direction
    - Eliminated port binding conflicts with system SSH server
    - Implemented proper SSH protocol flow for client-side tunneling
    0ecabb18
Name
Last commit
Last update
templates Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
image.jpg Loading commit data...
requirements.txt Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wssshd.py Loading commit data...