remote_libssh/README.md
2022-05-14 16:27:28 +08:00

31 lines
987 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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: [-?hlfpkib]
Options:
-l : host name # 主机名或Ip
-p : host port # 端口
-u : user name(default: root) # 用户名
-e : user passwd # 密码(默认root)
-k : private key passwd # 私钥密码
-f : private key file # 指定私钥文件
-i : interactive shell session # 交互模式
-c : command # 执行的命令
-? -h : help information