A simple CLI-based SSH Client written entirely in go.
I was working on this project with lots of microservices and only had the option to login to remote servers with password. I wanted to bring my servers with me on any machine I was working on. One way was to use paid apps like Termius. Since I'm poor, I Decided to write my own simpler version that DEFINITELY gets the job done!
- Clone the repo
- Build the binary
- Move the binary to
/usr/local/bin
in order to run it from everywhere - Finally, Make is executeable
$ git clone https://github.com/pooladkhay/gossh
$ cd gossh
$ go build .
$ mv gossh /usr/local/bin/gossh
$ chmod 755 /usr/local/bin/gossh
$ gossh [command]
Available Commands:
add Adds a new server to the list
completion generate the autocompletion script for the specified shell
connect Connects to a specific server
delete Deletes the specified server from server's list
help Help about any command
list Lists all available servers
Flags:
-h, --help help for gossh
-v, --version version for gossh
Use "gossh [command] --help" for more information about a command.
Just copy servers.ini
file from ~/.gossh
and put it inside the same directory on any machine.
If you've encrypted your passwords (Explained in Usage section), make sure not to forget your passphrase and you will be good to go.
Simple, Right? :)
Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.