Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnywong committed Jan 28, 2024
1 parent bee0ffd commit 8f1ab74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ trzsz-ssh ( tssh ) 设计为 ssh 客户端的直接替代品,提供与 openssh

</details>

- 可从 [Releases](https://github.com/trzsz/trzsz-ssh/releases) 中直接下载适用的版本
- 可从 [GitHub Releases](https://github.com/trzsz/trzsz-ssh/releases) 中下载,国内可从 [Gitee 发行版](https://gitee.com/trzsz/tssh/releases) 中下载,解压并加到 `PATH` 环境变量中。

## 登录界面

Expand Down Expand Up @@ -322,7 +322,7 @@ trzsz-ssh ( tssh ) 设计为 ssh 客户端的直接替代品,提供与 openssh
EnableZmodem Yes
```

- 除了服务器,本地电脑也要安装 `lrzsz`,Windows 可以从 [lrzsz-win32](https://github.com/trzsz/lrzsz-win32/releases) 下载解压并加到 `PATH` ,也可以如下安装:
- 除了服务器,本地电脑也要安装 `lrzsz`,Windows 可以从 [lrzsz-win32](https://github.com/trzsz/lrzsz-win32/releases) 下载,解压并加到 `PATH` 环境变量中,也可以如下安装:

```
scoop install lrzsz
Expand All @@ -349,8 +349,8 @@ trzsz-ssh ( tssh ) 设计为 ssh 客户端的直接替代品,提供与 openssh
- `tssh` 不带参数启动可以批量登录服务器,若带 `-o RemoteCommand` 参数启动则可以批量执行指定的命令。支持执行指定命令之后进入交互式 shell,但 `Windows Terminal` 不支持分号 `;`,可以用 `|cat&&` 代替。举例:

```sh
tssh -t -o RemoteCommand='ping -c3 trzsz.github.io ; bash'
tssh -t -o RemoteCommand="ping -c3 trzsz.github.io |cat&& bash"
tssh -t -o RemoteCommand='ping -c3 trzsz.github.io ; bash -l'
tssh -t -o RemoteCommand="ping -c3 trzsz.github.io |cat&& bash -l"
```

![tssh batch](https://trzsz.github.io/images/tssh_batch.gif)
Expand Down
8 changes: 4 additions & 4 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the op
</details>
- Download from the [Releases](https://github.com/trzsz/trzsz-ssh/releases)
- Download from the [GitHub Releases](https://github.com/trzsz/trzsz-ssh/releases), unzip and add to `PATH` environment.
## Login Prompt
Expand Down Expand Up @@ -322,7 +322,7 @@ trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the op
EnableZmodem Yes
```

- Not only the server, but also the local computer needs to install `lrzsz`. For Windows, you can download and unzip it from [lrzsz-win32](https://github.com/trzsz/lrzsz-win32/releases) and add it to `PATH`, or install it as follows:
- Not only the server, but also the local computer needs to install `lrzsz`. For Windows, you can download from [lrzsz-win32](https://github.com/trzsz/lrzsz-win32/releases), unzip and add to `PATH` environment, or install it as follows:

```
scoop install lrzsz
Expand All @@ -349,8 +349,8 @@ trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the op
- Execute the `tssh` command without arguments, you can log in to servers in batches. And you can specify the commands to be executed in batches by `-o RemoteCommand`. And you can switch to an interactive shell after executing the specified command. `Windows Terminal` does not support semicolon `;`, you can use `|cat&&` instead. For example:
```sh
tssh -t -o RemoteCommand='ping -c3 trzsz.github.io ; bash'
tssh -t -o RemoteCommand="ping -c3 trzsz.github.io |cat&& bash"
tssh -t -o RemoteCommand='ping -c3 trzsz.github.io ; bash -l'
tssh -t -o RemoteCommand="ping -c3 trzsz.github.io |cat&& bash -l"
```
![tssh batch](https://trzsz.github.io/images/tssh_batch.gif)
Expand Down

0 comments on commit 8f1ab74

Please sign in to comment.