Guides › Support
Grant temporary VPS support access safely, without sharing passwords
When asking someone to set up a server, many people send the root password by chat or email. That is the riskiest option: the password stays in the message forever and the helper has unlimited access. The right way is a temporary account with an SSH key that expires and can be revoked with one command.
This guide contains referral links: Datapi365 may earn a commission if you buy, at no extra cost to you. Plan details were read from Hostinger's site on the date above and may change. Affiliate disclosure
Why not share a password
- An SSH key has a public half (safe to share, like a lock) and a private half (kept by the helper, like the key). You only fit the lock on your server; nobody learns your password.
- It expires: the temporary account locks itself after a few days, even if you forget.
- It’s separate: the helper uses its own account (
datapi-support); removing it doesn’t touch yours.
Datapi365 never asks for passwords, verification codes or card details. Anyone asking in our name is an impostor.
Option 1: use our tool
- Receive our public key by email (one line starting with
ssh-ed25519). - Log in to your VPS (SSH, or the web console in your provider’s panel).
- Download the tool and read it (a few dozen commented lines):
curl -fsSLO https://datapi365.com/cong-cu/quyen-ho-tro.sh less quyen-ho-tro.sh - Grant access for 3 days (replace the quoted key):
sudo bash quyen-ho-tro.sh --key "ssh-ed25519 AAAA... datapi365-support" --days 3 - Send us the IP address the tool prints. Nothing else.
The tool’s messages are in Vietnamese; the commands are the same.
Option 2: type the commands yourself
sudo adduser --disabled-password --gecos "" datapi-support
sudo install -d -m 700 -o datapi-support -g datapi-support /home/datapi-support/.ssh
echo "PUBLIC_KEY" | sudo tee /home/datapi-support/.ssh/authorized_keys
sudo chown datapi-support: /home/datapi-support/.ssh/authorized_keys
sudo chmod 600 /home/datapi-support/.ssh/authorized_keys
echo "datapi-support ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/91-datapi-support
sudo chmod 440 /etc/sudoers.d/91-datapi-support
sudo chage -E $(date -d "+3 days" +%F) datapi-support
Check and revoke
- Check:
sudo bash quyen-ho-tro.sh --status - Revoke right after the session:
sudo bash quyen-ho-tro.sh --remove - Manual setup:
sudo deluser --remove-home datapi-support && sudo rm /etc/sudoers.d/91-datapi-support