add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,17 @@
# sshpass
> 一种 SSH 密码提供程序。
> 它通过创建一个 TTY将密码输入其中然后将 `stdin` 重定向到 SSH 会话来工作。
> 更多信息请访问:<https://manned.org/sshpass>。
- 使用在文件描述符中提供的密码(在此情况下为 `stdin`)连接到远程服务器:
`sshpass -d {{0}} ssh {{user}}@{{hostname}}`
- 使用作为选项提供的密码连接到远程服务器,并自动接受未知的 SSH 密钥:
`sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}`
- 使用文件的第一行作为密码连接到远程服务器,自动接受未知的 SSH 密钥,并启动一个命令:
`sshpass -f {{path/to/file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"`