docs: add /sshlinux and /sshwin aliases, note curl -L for the old /ssh redirect
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4aed1e447c
commit
7f06fc0442
1 file changed
+7
-4
@@ -21,14 +21,17 @@ curl -s https://git.edemilov.ru/edemilov/scripts/raw/branch/master/sshinstall.sh
|
||||
irm https://git.edemilov.ru/edemilov/scripts/raw/branch/master/sshinstall.ps1 | iex
|
||||
```
|
||||
|
||||
Short aliases for `sshinstall` (Cloudflare Redirect Rules on the `edemilov.com` zone, not part of
|
||||
this repo — edit in the Cloudflare dashboard if they ever need to change):
|
||||
Short aliases for `sshinstall`, served by nginx on the edemilov.com web container (CT122), which
|
||||
passes the request straight to this repo's raw file. No redirect, so plain `curl -s` works:
|
||||
|
||||
```bash
|
||||
curl -s https://edemilov.com/ssh | sudo bash # Linux
|
||||
irm https://edemilov.com/ssh.ps1 | iex # Windows, admin PowerShell
|
||||
curl -s https://edemilov.com/sshlinux | sudo bash # Linux
|
||||
irm https://edemilov.com/sshwin | iex # Windows, admin PowerShell
|
||||
```
|
||||
|
||||
Older aliases `https://edemilov.com/ssh` and `/ssh.ps1` are Cloudflare Redirect Rules on the
|
||||
`edemilov.com` zone (302). `irm` follows the redirect; `curl` needs `-L` (`curl -sL ... | sudo bash`).
|
||||
|
||||
## Scripts
|
||||
|
||||
| Script | Description | Distros |
|
||||
|
||||
Reference in new issue
Block a user