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

29
pages.zh/common/mosh.md Normal file
View File

@@ -0,0 +1,29 @@
# mosh
> 移动外壳(`mosh`)是 SSH 的一个强大且响应迅速的替代品。
> `mosh` 在网络间漫游时保持与远程服务器的连接。
> 更多信息:<https://mosh.org>。
- 连接到远程服务器:
`mosh {{username}}@{{remote_host}}`
- 使用特定身份(私钥)连接到远程服务器:
`mosh --ssh="ssh -i {{path/to/key_file}}" {{username}}@{{remote_host}}`
- 使用特定端口连接到远程服务器:
`mosh --ssh="ssh -p {{2222}}" {{username}}@{{remote_host}}`
- 在远程服务器上运行命令:
`mosh {{remote_host}} -- {{command -with -flags}}`
- 选择 Mosh UDP 端口(在 `remote_host` 位于 NAT 后面时很有用):
`mosh -p {{124}} {{username}}@{{remote_host}}`
-`mosh-server` 二进制文件不在标准路径时的用法:
`mosh --server={{path/to/bin/}}mosh-server {{remote_host}}`