Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.17 KB

README.md

File metadata and controls

63 lines (48 loc) · 1.17 KB

Custom Browser Ssh Terminal

Connect to servers you've tagged with customized commands and complete your actions with shortcuts

TODO

Auth ... :)

Use

commands_env.toml >> commands.toml // command list

servers_env.toml >> servers.toml // ssh server list

go build
./custom-browser-ssh-terminal

Run

http://localhost:8000/

Example Commands

[[Command]]
shortcmd = "lstatus"
description = "Litespeed Service Status" 
realcmd = "service lsws status"

[[Command]]
shortcmd = "glast"
description = "Project Git Last Commit"
realcmd = "cd /usr/local/lsws/DEFAULT/html && git rev-parse --verify HEAD"

[[Command]]
shortcmd = "ferror"
description = "Project Fatal Errors.."
realcmd = "cat /usr/local/lsws/logs/error.log |grep Fatal"

Example Ssh Servers

[[Server]]
Name = "dev"
Description = "Browser Dev Server"
HostName = "browser.dev"
UserName = "root"
Port = "22"
Password = "123456"

[[Server]]
Name = "hto"
Description = "Hto Git Server"
HostName = "git.hto.com"
UserName = "root"
Port = "22"
Password = "123456"

Custom Browser Ssh Terminal