28 lines
868 B
Markdown
28 lines
868 B
Markdown
# remote_libssh
|
||
远程执行shell命令
|
||
支持aes 128位加密密钥文件,写入程序中
|
||
支持指定未加密的密钥文件
|
||
|
||
|
||
# 编译
|
||
git clone https://git.aixiao.me/aixiao/remote_libssh
|
||
cd remote_libssh
|
||
make clean; make
|
||
cd ./aes
|
||
make clean; make
|
||
|
||
|
||
# Help
|
||
remote command
|
||
Author: aixiao@aixiao.me
|
||
Usage: [-?hlfpkb]
|
||
|
||
Options:
|
||
-l : host # 主机名或Ip
|
||
-f : port # 端口
|
||
-p : passwd # 密码(当前登录的用户名,我一般是root)
|
||
-k : private key passwd # 私钥密码
|
||
-i : private key file # 私钥文件
|
||
-b : command # 执行的命令
|
||
-? -h : help information
|