Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krlex/seemyssh

Share your terminal over browser
https://github.com/krlex/seemyssh

bash browser chrome debian fedora firefox freebsd share-ssh-browser ssh ubuntu

Last synced: 17 days ago
JSON representation

Share your terminal over browser

Awesome Lists containing this project

README

        

# Share your SSH terminal over browser

[![CI](https://github.com/krlex/browser-ssh/actions/workflows/blank.yml/badge.svg)](https://github.com/krlex/browser-ssh/actions/workflows/blank.yml)

## Warning

- latest version creates new or rewrights old id_rsa( if you say "y" ) and then starts installation and configuration

- This work on FreeBSD, Arch, Debian/Ubuntu, Fedora, Alpine313

- This work only on latest versions of OS

- For installation:

```
sudo apt-get install -y git
git clone https://github.com/krlex/SeeMySSH
./script.sh
```
if you use freebsd u may start script with `sh script.sh`

- If you want to start with authentication and readonly mode, you need to uncomment:
```
## If want to enable authentication just uncomment this:
#tmux new-session -s "set ssh in browser" -d "ttyd -p 8080 -c user:password -B -R bash"
```
and comment:
```
tmux new-session -s "set ssh in browser" -d "ttyd -p 8080 bash -x"
```
and after that start `script.sh`

- If you want to start with some command or something you want do this: ( in exmaple is `tmux a`)

```
tmux new-session -s "set ssh in browser" -d "ttyd -p 8080 -c user:password -B bash -lic 'tmux a'"
```
and this will start in browser with `tmux a`

## One-line download and installation

bash <(curl -sL https://raw.githubusercontent.com/krlex/SeeMySSH/master/script.sh)

## Latest Update

Now you have a chance to choose SSL or not:

For example:

https://89e7fc72295ff1.lhr.domains

or without SSL

http://89e7fc72295ff1.lhr.domains