docs(readme): replace VPS host and SSH port with placeholders

This commit is contained in:
dong.nguyen committed 2026-10-21 13:29:36 +07:00
1 parent 263e62a00a
commit 8edc53c969
1 file changed
+2 -2
+2 -2
View File
@@ -53,13 +53,13 @@ sudo install -d -m 700 -o gitea-deployer -g gitea-deployer /home/gitea-deployer/
Because no ssh-copy-id is available on Windows, you need to copy the public key to the server manually. Because no ssh-copy-id is available on Windows, you need to copy the public key to the server manually.
```powershell ```powershell
type $HOME\.ssh\gitea_deploy_key.pub | ssh gitea-deployer@112.213.91.239 -p 2212 "cat >> ~/.ssh/authorized_keys" type $HOME\.ssh\gitea_deploy_key.pub | ssh gitea-deployer@vps.example.com -p 2222 "cat >> ~/.ssh/authorized_keys"
``` ```
Test ssh connected with a private key Test ssh connected with a private key
```powershell ```powershell
ssh gitea-deployer@112.213.91.239 -p 2212 -i "$HOME\.ssh\gitea_deploy_key" -o IdentitiesOnly=yes ssh gitea-deployer@vps.example.com -p 2222 -i "$HOME\.ssh\gitea_deploy_key" -o IdentitiesOnly=yes
``` ```
Get content of private key Get content of private key