DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

SFTP, SCP and SSH access

SFTP and SCP transfer files through an encrypted SSH connection. On Euroserver systems they are available only to the main DirectAdmin system account when SSH access is enabled. Additional FTP accounts work only through FTP or encrypted FTPS.

Requirements

  • a hosting account with SSH enabled,
  • the DirectAdmin account username,
  • the Server Name from the welcome email or WHMCS,
  • the SSH port for that server,
  • a password or installed SSH key.

The default SSH port is 22, but a Euroserver machine may use a custom port. Use the welcome-email value or contact support.

SFTP in FileZilla or WinSCP

FieldValue
ProtocolSFTP – SSH File Transfer Protocol
HostServer Name from Hosting Information
PortSSH port for that server
UserDirectAdmin account username
Authenticationpassword or private SSH key

Transfer from PowerShell

scp -P PORT C:\path\file.zip user@server-name:/home/user/domains/example.com/public_html/
ssh -p PORT user@server-name

scp uses uppercase -P for the port; ssh uses lowercase -p.

SSH key instead of a password

A key is useful for repeated access and automation. Keep the private key on your computer and add only the public key to the server. Protect it with a passphrase and remove it from the server if it is lost.

When SSH is not enabled

Access denied does not always mean the password is wrong. First confirm that you are using the main DirectAdmin username, not an additional FTP account. SSH may also be disabled for the package. Use File Manager or FTPS and ask support to check SSH availability when needed.

Back to chapter overviewContact Euroserver support