Skip to content

rickicode/webshell-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSHELL SSH Like PuTTY on Web

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.

Usage

docker run -d --privileged --security-opt seccomp=unconfined --restart unless-stopped --name webshell-ssh -p 8018:8018 rickicode/webshell-ssh:latest

Navigate to http://hostname.com:8018/ to specify server ip, port and login interactively or

to use URL-based and default values

Parameters

  1. SSH_PORT - default port to use (if not specified - 22)
  2. USERNAME - default login to use (if not specified - root)
  3. DEFAULT_IP - default ip to use (if not specified, both ipv4 and ipv6 are ok)
  4. INACTIVITY_INTERVAL - amount of seconds of noIO between remote server and browser after which the monitor script must terminate the connection (default 120)

Notes

If you want to use a private key, you need to encode it in base64 and pass it as a parameter to the URL.

Author

rickicode - NETQ.ME

Forked from Webshell

About

Docker container which includes Shellinabox and enables SSH connections to connect a server via web browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages