Beta released (2013-1-2) Developing
gossh is a command which wrapper for ssh and sshpass.
Program use basic C/S structure. passwords can be stored in local db.
- quickly connect to a host, password will store in local database.
- todo: support alias of hostname(very usefull if your hostname is very long)
- Download
sshpass
from http://sourceforge.net/projects/sshpass/, and add it to PATH - start gossh server:
nohup ./gossh -server &>/gossh.log &
- use gossh just like ssh. for example:
gossh root@example.com
password required only for the first time.
- client login to server, (todo: server check auth)
- client send user(eg: root), host(eg: example.com) to server
- server search hostname which user=root and hostname matches example.com
- server send back password
- client call sshpass and ssh to connect host
There are still lot of things to do. Even throuth the first version is released. todo
download thrift if you want to change protocal: http://mirror.esocc.com/apache/thrift/0.9.1/thrift-0.9.1.tar.gz
use thrift --gen go rpc.thrift
to generate go code.
Document