Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webssh
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑天保
webssh
Commits
41740690
Commit
41740690
authored
Aug 30, 2018
by
Sheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README
parent
a7a3f466
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
README.md
README.md
+3
-4
README.rst
README.rst
+3
-3
No files found.
README.md
View file @
41740690
...
@@ -38,8 +38,8 @@ A simple web application to be used as an ssh client to connect to your ssh serv
...
@@ -38,8 +38,8 @@ A simple web application to be used as an ssh client to connect to your ssh serv
### Quickstart
### Quickstart
1.
Install this app
`pip install webssh`
1.
Install this app
, run command
`pip install webssh`
2.
Start a webserver
`wssh`
2.
Start a webserver
, run command
`wssh`
3.
Open your browser, navigate to
`127.0.0.1:8888`
3.
Open your browser, navigate to
`127.0.0.1:8888`
4.
Input your data, submit the form.
4.
Input your data, submit the form.
...
@@ -77,7 +77,6 @@ wssh --help
...
@@ -77,7 +77,6 @@ wssh --help
### Use console
### Use console
```
javascript
```
javascript
// set a new encoding for client to use
// set a new encoding for client to use
wssh
.
set_encoding
(
encoding
);
wssh
.
set_encoding
(
encoding
);
...
@@ -88,7 +87,7 @@ wssh.reset_encoding();
...
@@ -88,7 +87,7 @@ wssh.reset_encoding();
// connect to your ssh server
// connect to your ssh server
wssh
.
connect
(
hostname
,
port
,
username
,
password
,
privatekey
);
wssh
.
connect
(
hostname
,
port
,
username
,
password
,
privatekey
);
// without argument, wssh will use the form data to connect
// without a
n a
rgument, wssh will use the form data to connect
wssh
.
connect
();
wssh
.
connect
();
// define a mapping object
// define a mapping object
...
...
README.rst
View file @
41740690
...
@@ -40,8 +40,8 @@ Requirements
...
@@ -40,8 +40,8 @@ Requirements
Quickstart
Quickstart
~~~~~~~~~~
~~~~~~~~~~
1. Install this app ``pip install webssh``
1. Install this app
, run command
``pip install webssh``
2. Start a webserver ``wssh``
2. Start a webserver
, run command
``wssh``
3. Open your browser, navigate to ``127.0.0.1:8888``
3. Open your browser, navigate to ``127.0.0.1:8888``
4. Input your data, submit the form.
4. Input your data, submit the form.
...
@@ -94,7 +94,7 @@ Use console
...
@@ -94,7 +94,7 @@ Use console
// connect to your ssh server
// connect to your ssh server
wssh.connect(hostname, port, username, password, privatekey);
wssh.connect(hostname, port, username, password, privatekey);
// without argument, wssh will use the form data to connect
// without a
n a
rgument, wssh will use the form data to connect
wssh.connect();
wssh.connect();
// define a mapping object
// define a mapping object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment