From 8edc53c9695b4c82f77701ce40163c555c72304e Mon Sep 17 00:00:00 2001 From: "dong.nguyen" Date: Wed, 21 Oct 2026 13:29:36 +0700 Subject: [PATCH] docs(readme): replace VPS host and SSH port with placeholders --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e96af2..16205e1 100644 --- a/README.md +++ b/README.md @@ -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. ```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 ```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