tryssh
tryssh 是一个拥有猜密码功能的命令行ssh终端工具。
tryssh可以非常方便在命令行中通过ssh协议连接服务器,也可以非常方便地管理服务器的登陆账号密码等信息。
tryssh拥有跨平台的能力,可以在多种操作系统上正常工作。
注意:因
tryssh
有并发猜密码的功能,所以tryssh理论上拥有暴力破解服务器密码的能力。不建议使用tryssh
去做类似事情。
快速开始
引用自github仓库中README的例子
# 创建一个名为 testuser 的备选用户
tryssh create users testuser
# 创建备选端口号 22
tryssh create ports 22
# 创建一个备选密码
tryssh create passwords 123456
# 用以上创建的信息尝试登陆 192.168.1.1
tryssh ssh 192.168.1.1
功能详解
帮助信息
截止 v0.3.10版本
$ tryssh -h
command line ssh terminal tool.
Usage:
tryssh [command]
Available Commands:
alias Set, unset, and list aliases, aliases can be used to log in to servers
create Create alternate username, port number, password, and login cache information
delete Delete alternate username, port number, password, and login cache information
get Get alternate username, port number, password, and login cache information
help Help about any command
prune Check if all current caches are available and clear the ones that are not available
scp Upload/Download file to/from the server through SSH protocol
ssh Connect to the server through SSH protocol
version Print the client version information for the current context
Flags:
-h, --help help for tryssh
Use "tryssh [command] --help" for more information about a command.
create 命令
tryssh 的create
命令用于创建用来猜密码登陆的各类配置,比如用户名、端口号和密码,也可以直接创建已知用户名、端口号和密码的缓存。