shellngn/pro
Shellngn Pro
100K+
Web Based SSH, SFTP, Telnet, RDP and VNC Client.
Shellngn Pro is a web application which works as secure gateway to your servers.
It allows you to manage your servers anywhere you are, with a professional and feature-rich terminal and remote desktop client.
docker run --name shellngn-pro \
--mount source=shellngn-data,target=/home/node/server/data \
-p 8080:8080 -e HOST=0.0.0.0 shellngn/pro:latest
Visit http://localhost:8080/
to login the system
PORT
- (default:8080) - Sets the listening port for the web
application.
HOST
- (default: 0.0.0.0) - Sets the host to listen on for the web
application.
CORS
- (default: *) - Cross-origin resource sharing origin.
BASE_URL
- (default: /) - URL to be set in the base element.
TLS_CERT
- (default: none) - Certificate file name located under "/home/node/server/data/tls"
TLS_KEY
- (default: none) - Private key file name located under "/home/node/server/data/tls"
RESET_USER
- (default: none) - Reset a user's password. (will not erase data)
example: RESET_USER=admin:12345
will change the 'admin' user password to '12345'.
You can enable HTTPS with Nginx Proxy Manager and Let's Encrypt with these 6 easy steps. (Click Here)
Create a local folder named 'tls'
Copy your certificate (e.g localhost.crt) and private key file (e.g localhost.key) to the tls folder.
Execute:
docker run -it \
--mount source=shellngn-data,target=/home/node/server/data \
-p 8080:8080 \
-e HOST=0.0.0.0 \
-v "$(pwd)"/tls:/home/node/server/data/tls \
-e TLS_CERT=localhost.crt \
-e TLS_KEY=localhost.key shellngn/pro:latest
If you're using nginx in front of the docker image (or Node) then you'll need to proxy through Upgrade headers. Below is an example of a location block that does such:
location / {
proxy_pass YOUR_DOCKER_IMAGE_LOCATION;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
docker pull shellngn/pro