SFTP lets you upload and download files over SSH. On a VPS, it uses the same login details as normal SSH: the VPS IP address, SSH username, SSH password or key, and SSH port.
The default SSH/SFTP port is 22 unless you changed it.
For the full FileZilla connection walkthrough, use How to connect to SFTP using FileZilla.
For a VPS connection, use these values in FileZilla or WinSCP:
| Field | VPS value |
|---|---|
| Protocol | SFTP |
| Host | Your VPS public IP address |
| Port | 22, unless you changed SSH to a different port |
| Username | Your Linux SSH username, often root on a fresh VPS |
| Password / key | Your SSH password, or the private key that matches the public key on the VPS |
Once connected, upload files into the folder used by the software you are running. Do not upload game files randomly into / unless a guide specifically tells you to.
Useful VPS upload locations
| Path | Used for |
|---|---|
/home | User folders and service accounts. |
/root | Root user files. Only use this when logged in as root. |
/opt | Common location for manually installed server software. |
/var/log | System and service logs. |
/srv | Common location for hosted services, depending on your setup. |
If SFTP fails, test normal SSH first. If SSH does not work, SFTP will not work either.
If you are not sure where a game server file should go, check the game-specific guide before uploading it.
