One script. One alias. No IP to remember. Run it once per terminal, then connect with ssh vps2 — from a PC terminal or a phone terminal.
No web panel. No server to run. No account. Just one script in your own terminal.
$ ./connect-vps.sh --name vps2 --host <VPS-IP>
ssh vps2. No IP to remember.macOS, Linux, Git Bash, WSL, Termux. The original connect-vps.sh.
Windows PowerShell, no Git Bash needed. The new connect-vps.ps1.
Not sure which one? Compare PowerShell, Git Bash, and WSL side by side.
Android Termux, and what to do on iOS instead.
Safety, passwords, failures, and what was actually tested.
Your private key never leaves your device. Only the public key is copied. Config is backed up before editing.
Diagram: one script run per terminal — then connect with a short alias, on any VPS.
Replace <VPS-IP> with your VPS IP or hostname, and vps2 with any alias you like.
curl -O https://raw.githubusercontent.com/mymyanmarland/vps-connect/main/connect-vps.shInvoke-WebRequest -Uri https://raw.githubusercontent.com/mymyanmarland/vps-connect/main/connect-vps.ps1 -OutFile connect-vps.ps1ssh vps2