增加交互模式

This commit is contained in:
aixiao 2022-05-14 16:27:28 +08:00
parent f34a6227db
commit 45929804ac
2 changed files with 136 additions and 54 deletions

View File

@ -19,10 +19,12 @@
Options:
-l : host name # 主机名或Ip
-f : host port # 端口
-p : host port # 端口
-u : user name(default: root) # 用户名
-p : user passwd # 密码(默认root)
-e : user passwd # 密码(默认root)
-k : private key passwd # 私钥密码
-i : private key file # 指定私钥文件
-b : command # 执行的命令
-? -h : help information
-f : private key file # 指定私钥文件
-i : interactive shell session # 交互模式
-c : command # 执行的命令
-? -h : help information

178
main.c

File diff suppressed because one or more lines are too long