How to connect to your hosting with SSH

Log in to your Traxio account’s command line over SSH on port 26628, set up key-based login, and the everyday commands that are useful on shared hosting.

Guide2 min readLast updated
On this page
  1. Connecting
  2. Use a key instead of a password
  3. Useful commands
  4. If it won’t connect
  5. What you can’t do
  6. Common questions

SSH gives you a secure command line on your hosting account, useful for WP-CLI, Git and working with large files.

Connecting

Traxio uses port 26628 for SSH, not the default 22:

ssh -p 26628 USERNAME@yourdomain.co.uk

Use your DirectAdmin username and password. Until your domain points at Traxio, use the server address from your welcome email instead of your domain.

Tip: SFTP uses the same port and the same login. If you save the connection in an app like FileZilla, set the port to 26628 there too. Connecting with FileZilla (FTP and SFTP)

To avoid typing the port every time, add this to ~/.ssh/config on your computer:

Host traxio
 HostName yourdomain.co.uk
 User USERNAME
 Port 26628

Then connect with ssh traxio.

Use a key instead of a password

  1. On your computer: ssh-keygen -t ed25519
  2. Add the public key (~/.ssh/id_ed25519.pub) in Advanced Features › SSH Keys.
  3. Connect again; you won’t be asked for a password.

Useful commands

cd ~/domains/yourdomain.co.uk/public_html
du -sh * # what's using space
tail -n 50 ../logs/error.log
php -v
wp core version # WP-CLI, run inside a WordPress folder

If it won’t connect

  • Timed out or refused: check the port is 26628. Some workplace networks block unusual ports, so try mobile data.
  • Permission denied: check the DirectAdmin username and password, or that the key you added matches the one your computer is offering.

What you can’t do

Shared hosting gives a restricted, user-level shell: no sudo, no root access and no installing system packages. Node.js and Python apps are set up through DirectAdmin rather than started by hand from the shell. Can I run Node.js, Python or Ruby apps on Traxio?

What port does SSH use on Traxio?

Port 26628, not the default 22. SFTP uses the same port.

Can I use sudo or install packages?

No. SSH gives you a user-level shell on shared hosting, so there’s no root access, sudo or system package installation.

New to Traxio? The PHP hosting page lists the PHP versions, database and tools every account gets.

Common questions

Does Traxio support SSH access?

Yes. SSH is available on port 26628 using your hosting username and password — the same port as SFTP. It is a user-level shell, so there is no root access.

Git and WP-CLI are available over SSH, which makes deployments and bulk WordPress work much faster than doing them through a browser. For a Composer-based application, the usual approach on shared hosting is to run the build on your own machine and upload the result.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going