Make your SSH server accessible from the web browser.
It's a web ssh proxy. If deployed on certain server it can transform it to web ssh client. It is for remote ssh connections, not for the connection to the same server where it's deployed. See Shellinabox if you want to have just web ssh server on the same server you want connect to.
It is distributed in the form of Docker container which includes Shellinabox and python wrapper script and enables remote connections to arbitrary servers. It's based on the original Shellinabox and the idea of ssh client invocation.
docker run -d --privileged --security-opt seccomp=unconfined --restart unless-stopped --name webshell-ssh -p 8018:8018 rickicode/webshell-ssh:latestNavigate to http://hostname.com:8018/ to specify server ip, port and login interactively or
- http://hostname.com:8018/?serverip
- http://hostname.com:8018/?serverip/port
- http://hostname.com:8018/?serverip/port/root
- http://hostname.com:8018/?serverip/port/root/encoded_base64_private_key
to use URL-based and default values
- SSH_PORT - default port to use (if not specified - 22)
- USERNAME - default login to use (if not specified - root)
- DEFAULT_IP - default ip to use (if not specified, both ipv4 and ipv6 are ok)
- INACTIVITY_INTERVAL - amount of seconds of noIO between remote server and browser after which the monitor script must terminate the connection (default 120)
If you want to use a private key, you need to encode it in base64 and pass it as a parameter to the URL.
rickicode - NETQ.ME
Forked from Webshell