https://github.com/codeskyblue/gossh
command: wraper of ssh, save passwords for users.
https://github.com/codeskyblue/gossh
Last synced: about 1 month ago
JSON representation
command: wraper of ssh, save passwords for users.
- Host: GitHub
- URL: https://github.com/codeskyblue/gossh
- Owner: codeskyblue
- License: gpl-2.0
- Created: 2013-10-30T03:13:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-31T07:24:26.000Z (about 11 years ago)
- Last Synced: 2025-03-25T14:44:45.897Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 293 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## gossh
Beta released (2013-1-2)
*Developing*[](https://drone.io/github.com/shxsun/gossh/latest)
gossh is a command which wrapper for ssh and [sshpass](https://linuxtoy.org/archives/sshpass.html).
Program use basic C/S structure. passwords can be stored in local db.
### gossh can de what?
1. quickly connect to a host, password will store in local database.
2. *todo: support alias of hostname(very usefull if your hostname is very long)*### How to use
1. Download `sshpass` from , and add it to PATH
2. start gossh server: `nohup ./gossh -server &>/gossh.log &`
3. use gossh just like ssh. for example: `gossh [email protected]`password required only for the first time.
### The working flow.
1. client login to server, (todo: server check auth)
2. client send user(eg: root), host(eg: example.com) to server
3. server search hostname which user=root and hostname matches example.com
4. server send back password
5. client call sshpass and ssh to connect host### How to join develop
There are still lot of things to do. Even throuth the first version is released. [todo](doc/todo.md)download thrift if you want to change protocal:
use `thrift --gen go rpc.thrift` to generate go code.
*Document*
* [server api document](doc/api.md)
* [server storage](doc/storage.md)