Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
huashengdun committed May 19, 2019
1 parent 34af59a commit e1cd3ef
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
![PyPI](https://img.shields.io/pypi/v/webssh.svg)


## Introduction
### Introduction

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, paramiko and xterm.js.

## Features
### Features

* SSH password authentication supported, including empty password.
* SSH public-key authentication supported, including DSA RSA ECDSA Ed25519 keys.
Expand All @@ -21,7 +21,7 @@ A simple web application to be used as an ssh client to connect to your ssh serv
* Modern browsers including Chrome, Firefox, Safari, Edge, Opera supported.


## Preview
### Preview

![Login](https://github.com/huashengdun/webssh/raw/master/preview/login.png)
![Terminal](https://github.com/huashengdun/webssh/raw/master/preview/terminal.png)
Expand Down Expand Up @@ -114,7 +114,12 @@ http://localhost:8888/#bgcolor=green

Passing a user defined title
```bash
http://localhost:8888/?title=my-webssh-server
http://localhost:8888/?title=my-ssh-server
```

Passing an encoding
```bash
http://localhost:8888/#encoding=gbk
```

### Use Docker
Expand Down Expand Up @@ -168,7 +173,7 @@ wssh --port=8080 --sslport=4433 --certfile='cert.crt' --keyfile='cert.key' --xhe
```


## Tips
### Tips

* For whatever deployment choice you choose, don't forget to enable SSL.
* By default plain http requests from a public network will be either redirected or blocked and being redirected takes precedence over being blocked.
Expand Down
16 changes: 11 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ WebSSH
|Build Status| |codecov| |PyPI - Python Version| |PyPI|

Introduction
------------
~~~~~~~~~~~~

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, paramiko and
xterm.js.

Features
--------
~~~~~~~~

- SSH password authentication supported, including empty password.
- SSH public-key authentication supported, including DSA RSA ECDSA
Expand All @@ -24,7 +24,7 @@ Features
supported.

Preview
-------
~~~~~~~

|Login| |Terminal|

Expand Down Expand Up @@ -125,7 +125,13 @@ Passing a user defined title

.. code:: bash
http://localhost:8888/?title=my-webssh-server
http://localhost:8888/?title=my-ssh-server
Passing an encoding

.. code:: bash
http://localhost:8888/#encoding=gbk
Use Docker
~~~~~~~~~~
Expand Down Expand Up @@ -187,7 +193,7 @@ Running as a standalone server
wssh --port=8080 --sslport=4433 --certfile='cert.crt' --keyfile='cert.key' --xheaders=False --policy=reject
Tips
----
~~~~

- For whatever deployment choice you choose, don't forget to enable
SSL.
Expand Down

0 comments on commit e1cd3ef

Please sign in to comment.