Skip to content

Commit 4958308

Browse files
committed
docs: add traditional chinese documentation.
Signed-off-by: Bo-Yi.Wu <[email protected]>
1 parent b601429 commit 4958308

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.zh-tw.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# 🚀 用於 GitHub Actions 的 SSH
2+
3+
[GitHub Action](https://github.com/features/actions) for executing remote ssh commands.
4+
5+
![ssh workflow](./images/ssh-workflow.png)
6+
7+
[![Actions Status](https://github.com/appleboy/ssh-action/workflows/remote%20ssh%20command/badge.svg)](https://github.com/appleboy/ssh-action/actions)
8+
9+
**注意**: 只支援在 **Linux** [docker](https://www.docker.com/) 容器上執行。
10+
11+
## 輸入變數
12+
13+
更詳細的資訊,請參閱 [action.yml](./action.yml)
14+
15+
* `host` - SSH 主機
16+
* `port` - SSH 連接埠,預設為 `22`
17+
* `username` - SSH 使用者名稱
18+
* `password` - SSH 密碼
19+
* `passphrase` - 通常用於加密私鑰的 passphrase
20+
* `sync` - 同步執行多個主機上的命令,預設為 false
21+
* `timeout` - SSH 連接到遠端主機的超時時間,預設為 `30s`
22+
* `command_timeout` - SSH 命令超時時間,預設為 10m
23+
* `key` - SSH 私鑰的內容,例如 ~/.ssh/id_rsa 的原始內容,請記得包含 BEGIN 和 END 行
24+
* `key_path` - SSH 私鑰的路徑
25+
* `fingerprint` - 主機公鑰的 SHA256 指紋,預設為略過驗證
26+
* `script` - 執行命令
27+
* `script_stop` - 當出現第一個錯誤時停止執行命令
28+
* `envs` - 傳遞環境變數到 shell script
29+
* `debug` - 啟用偵錯模式
30+
* `use_insecure_cipher` - 使用不安全的密碼(ciphers)進行加密,參見 [#56](https://github.com/appleboy/ssh-action/issues/56)
31+
* `cipher` - 允許使用的密碼(ciphers)演算法。如果未指定,則使用適當的演算法
32+
33+
SSH 代理設置:
34+
35+
* `proxy_host` - 代理主機
36+
* `proxy_port` - 代理端口,預設為 `22`
37+
* `proxy_username` - 代理使用者名稱
38+
* `proxy_password` - 代理密碼
39+
* `proxy_passphrase` - 密碼通常用於加密私有金鑰
40+
* `proxy_timeout` - SSH 連線至代理主機的逾時時間,預設為 `30s`
41+
* `proxy_key` - SSH 代理私有金鑰內容
42+
* `proxy_key_path` - SSH 代理私有金鑰路徑
43+
* `proxy_fingerprint` - 代理主機公鑰的 SHA256 指紋,預設為跳過驗證
44+
* `proxy_use_insecure_cipher` - 使用不安全的加密方式,請參閱 [#56](https://github.com/appleboy/ssh-action/issues/56)
45+
* `proxy_cipher` - 允許的加密算法。如果未指定,則使用合理的算法

0 commit comments

Comments
 (0)