Skip to content

krlex/SeeMySSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share your SSH terminal over browser

CI

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