mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 19:59:51 +00:00
Prepare to write unit tests
This commit is contained in:
12
README.md
12
README.md
@@ -1,5 +1,9 @@
|
||||
## WebSSH
|
||||
A simple web application to be used as an ssh client to connect to your ssh servers. It is written in Python, base on Tornado and Paramiko.
|
||||
[](https://travis-ci.org/huashengdun/webssh)
|
||||
[](https://codecov.io/gh/huashengdun/webssh)
|
||||

|
||||
|
||||
A simple web application to be used as an ssh client to connect to your ssh servers. It is written in Python, base on tornado and paramiko.
|
||||
|
||||
### Preview
|
||||

|
||||
@@ -18,7 +22,7 @@ A simple web application to be used as an ssh client to connect to your ssh serv
|
||||
git clone https://github.com/huashengdun/webssh.git
|
||||
cd webssh
|
||||
pip install -r requirements.txt
|
||||
python main.py
|
||||
python webssh/main.py
|
||||
```
|
||||
|
||||
### Options
|
||||
@@ -41,7 +45,7 @@ python main.py --help
|
||||
|
||||
### Nginx config example for running this app behind an nginx server
|
||||
```
|
||||
location / {
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8888;
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 300;
|
||||
@@ -50,7 +54,7 @@ location / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Real-PORT $remote_port;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Tips
|
||||
|
||||
Reference in New Issue
Block a user