Files
tldr/pages.zh/linux/dbclient.md

24 lines
629 B
Markdown
Raw Permalink 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.

# dbclient
> 轻量级 Dropbear 安全外壳客户端。
> 更多信息:<https://manned.org/dbclient.1>。
- 连接到远程主机:
`dbclient {{user}}@{{host}}`
- 通过 [p]ort 2222 连接到远程主机:
`dbclient {{user}}@{{host}} -p 2222`
- 使用特定的 [i]dentity 密钥Dropbear 格式)连接到远程主机:
`dbclient -i {{path/to/key_file}} {{user}}@{{host}}`
- 在远程主机上运行命令并分配 [t]ty 以允许与远程命令交互:
`dbclient {{user}}@{{host}} -t {{command}} {{argument1 argument2 ...}}`
- 连接并转发 [A]gent 连接到远程主机:
`dbclient -A {{user}}@{{host}}`