q-shell is quick shell for remote login into Unix system, it use blowfish crypt algorithm to protect transport data from client to server, you can get two program: 'qsh' for client, and 'qshd' for server, those program can rename by any name with you prefer.
Compile
Just enter 'make' and it will automation to compile, but, you must input the server key.
- server:
Just run qshd on server:
But, you would like to run after change it to other name, such as:$ ./qshd
$ mv qshd smbd
$ export PATH=.:$PATH
$ smbd - client:
Set some environment variable, then run qsh:
Now you already login into server $_IP .$ export _IP=127.0.0.1
$ export _PORT=2800
$ unset _P
$ ./qsh shell
More function
q-shell include more function to manage system:
- put/get files:
$ ./qsh get /path/to/server/file .
$ ./qsh put /path/to/local/file /path/to/server/file - run a command on server:
$ ./qsh exec 'ls -l /bin'
- update server program:
This function will update remote qshd, and run again.$ ./qsh update /path/to/local/qshd
- automation to run command on many server:
Note: qsh use $_P to fetch server key, so you should erase all history data after to use $_P.$ for i in {10..20} ; do \
export _IP=192.168.0.$i
export _PORT=2800
export _P=key # set key
./qsh exec 'ls -l /bin'
done - update password
start with version 3.2, you can update the password as below:
$ ./qsh passwd
0 comentários:
Post a Comment
Note: Only a member of this blog may post a comment.