Cannot Access
Tencent Ubuntu Username
Tencent Ubuntu Username
When using a Tencent Ubuntu image, the default username is ubuntu, not root:
- SSH with correct username — Use
ubuntu@your-vps-ipinstead ofroot@your-vps-ip. The username is shown on the VPS Access tab.
- Example SSH command —
ssh ubuntu@203.0.113.1 - Switch to root after login — Once logged in, use
sudo -iorsudo su -to switch to root. - Check /etc/ssh/sshd_config — Tencent images often disable root login by default. Edit
PermitRootLoginif needed.
Note: This applies to Tencent Ubuntu images. Other providers may use different default usernames.
Last modified on