Establishing an SSH Connection on Linux
Please Note:
The text on this page was translated by translation software. A revised version from our editors will be available soon.
Please use the “Print” function at the bottom of the page to create a PDF.
For Web Hosting
This article explains how to establish an SSH connection from a computer running a Linux operating system to your webspace at IONOS.
Secure Shell (SSH) is a network protocol that enables secure communication between two computers. It is used to access remote servers and execute commands over an encrypted connection. With IONOS web hosting, SSH provides a secure way to manage your webspace, edit files, and much more.
Requirements
To use SSH connections, you need an SFTP account set up at IONOS account that supports SSH. Availability varies depending on your contract’s start date:
- Contracts starting on or after September 10, 2024: For these contracts, SSH connections are possible with any SFTP account for which SSH was enabled during SFTP account setup. For more details, see the article: Create an SFTP/SSH Account
- Contracts prior to September 10, 2024: For these contracts, SSH connections are only possible with the primary SFTP user. Any additional SFTP users created cannot use SSH.
Here's how to establish an SSH connection to your web space:
- Open a terminal on your Linux computer.
In the terminal window, enter the ssh command as follows:
ssh user@host
Replace " user" with the username of your SFTP account.
Replace ` host` with the name of your IONOS SFTP server.
The following article explains how to obtain the relevant information: Connection Details for FTP/SFTP in IONOS Web Hosting
Example:ssh a1234567@access-1234567890.webspace-host.com
- Press the Enter key to execute the command.
- When you establish the connection for the first time, you’ll be notified that the host’s authenticity cannot be verified, and the hosting server’s “fingerprint” will be displayed. To be on the safe side, compare the fingerprint with the fingerprints listed in the article “Overview of SSH Fingerprints in IONOS Web Hosting.” To continue, type “yes” and press Enter.
Enter the password for your SFTP account and press Enter.
The SSH connection will be established. Afterward, the output in the terminal window should look something like this:user@my_host: ssh u1234567@access1234567890.webspace-data.io
u1234567@access1234567890.webspace-data.io's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You are now in the main directory (document root) of your webspace and can execute commands.
More Information
You can find instructions for other operating systems here: