@hahahhh/sshx 0.0.1-rc.7 → 0.0.2-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,14 +79,14 @@ sshx first tries to use the same local port as the remote listener. If that loca
|
|
|
79
79
|
No installation required — npx fetches the latest binary on each run:
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
|
-
npx @hahahhh/sshx
|
|
83
|
-
npx @hahahhh/sshx
|
|
82
|
+
npx @hahahhh/sshx my-server
|
|
83
|
+
npx @hahahhh/sshx -p 2222 user@my-server hostname
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
For repeated use, install globally:
|
|
87
87
|
|
|
88
88
|
```sh
|
|
89
|
-
npm install -g @hahahhh/sshx
|
|
89
|
+
npm install -g @hahahhh/sshx
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
The npm wrapper auto-downloads the correct native binary for your platform from GitHub Releases.
|
|
@@ -96,8 +96,8 @@ The npm wrapper auto-downloads the correct native binary for your platform from
|
|
|
96
96
|
Download the prebuilt binary directly from [GitHub Releases](https://github.com/xiaot623/sshx/releases):
|
|
97
97
|
|
|
98
98
|
```sh
|
|
99
|
-
# Example: macOS arm64,
|
|
100
|
-
curl -L -o sshx https://github.com/xiaot623/sshx/releases/download/
|
|
99
|
+
# Example: macOS arm64, latest release
|
|
100
|
+
curl -L -o sshx https://github.com/xiaot623/sshx/releases/latest/download/sshx-darwin-arm64
|
|
101
101
|
chmod +x sshx
|
|
102
102
|
sudo mv sshx /usr/local/bin/sshx
|
|
103
103
|
```
|