mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-20 12:46:39 +00:00
Updated README
This commit is contained in:
@@ -38,8 +38,8 @@ A simple web application to be used as an ssh client to connect to your ssh serv
|
||||
|
||||
### Quickstart
|
||||
|
||||
1. Install this app `pip install webssh`
|
||||
2. Start a webserver `wssh`
|
||||
1. Install this app, run command `pip install webssh`
|
||||
2. Start a webserver, run command `wssh`
|
||||
3. Open your browser, navigate to `127.0.0.1:8888`
|
||||
4. Input your data, submit the form.
|
||||
|
||||
@@ -77,7 +77,6 @@ wssh --help
|
||||
|
||||
### Use console
|
||||
|
||||
|
||||
```javascript
|
||||
// set a new encoding for client to use
|
||||
wssh.set_encoding(encoding);
|
||||
@@ -88,7 +87,7 @@ wssh.reset_encoding();
|
||||
// connect to your ssh server
|
||||
wssh.connect(hostname, port, username, password, privatekey);
|
||||
|
||||
// without argument, wssh will use the form data to connect
|
||||
// without an argument, wssh will use the form data to connect
|
||||
wssh.connect();
|
||||
|
||||
// define a mapping object
|
||||
|
||||
+3
-3
@@ -40,8 +40,8 @@ Requirements
|
||||
Quickstart
|
||||
~~~~~~~~~~
|
||||
|
||||
1. Install this app ``pip install webssh``
|
||||
2. Start a webserver ``wssh``
|
||||
1. Install this app, run command ``pip install webssh``
|
||||
2. Start a webserver, run command ``wssh``
|
||||
3. Open your browser, navigate to ``127.0.0.1:8888``
|
||||
4. Input your data, submit the form.
|
||||
|
||||
@@ -94,7 +94,7 @@ Use console
|
||||
// connect to your ssh server
|
||||
wssh.connect(hostname, port, username, password, privatekey);
|
||||
|
||||
// without argument, wssh will use the form data to connect
|
||||
// without an argument, wssh will use the form data to connect
|
||||
wssh.connect();
|
||||
|
||||
// define a mapping object
|
||||
|
||||
Reference in New Issue
Block a user