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

38
pages.zh/common/sftp.md Normal file
View File

@@ -0,0 +1,38 @@
# sftp
> 安全文件传输程序。
> 交互式程序,通过 SSH 在主机之间复制文件。
> 对于非交互式文件传输,请参见 `scp` 或 `rsync`。
> 更多信息:<https://manned.org/sftp>。
- 连接到远程服务器并进入交互式命令模式:
`sftp {{remote_user}}@{{remote_host}}`
- 使用备用端口连接:
`sftp -P {{remote_port}} {{remote_user}}@{{remote_host}}`
- 使用预定义主机连接(在 `~/.ssh/config` 中):
`sftp {{host}}`
- 将远程文件传输到本地系统:
`get {{/path/remote_file}}`
- 将本地文件传输到远程系统:
`put {{/path/local_file}}`
- 递归地将远程目录传输到本地系统(也适用于 `put`
`get -R {{/path/remote_directory}}`
- 获取本地机器上的文件列表:
`lls`
- 获取远程机器上的文件列表:
`ls`