SSH increases the security of your web space by allowing you to connect with encrypted connections. You can securely transfer files or connect directly to your web space from a terminal.
Note: SSH access is included in our Enthusiast and Guru plans. If you have a different hosting plan, you can use SFTP to securely transfer files to and from your web space.
-
Activate SSH for my web space
1. Click here to open the SSH & FTP section under Advanced settings in the Control Panel.
2. Under SSH and SFTP Administration, set Allow SSH & SFTP access to On.
Your domain's specific connection details will also be displayed here.Need to set up or change the SSH/SFTP password?
Click the Send button to send an email to your contact email address. Continue following the steps from step 3 in the section Create or change the SSH/SFTP password. -
Create or change your SSH/SFTP password
1. Click here to open the SSH & FTP section under Advanced settings in the Control Panel.
2. Under SSH and SFTP Administration, click the Send button to send an email to your contact email address.
3. Open the inbox of your contact email address and find the email with the subject "Change SSH/SFTP password for the domain [one-example.com]".
4. Open the email and click the Reset password button.
5. On the page that opens, type in a password of your choice twice. Then click Save.You can now connect with SSH from a computer using a tool like PuTTY (Windows) or Terminal (built-in on Mac).
-
Connect to your web space using SSH
Connect with SSH from a computer using a third-party tool like PuTTY (Windows) or Terminal (built-in on Mac).
Note: Make sure SSH access is enabled in your one.com Control Panel. If needed, follow the steps in the section Activate SSH for my web space first.
1. Open your SSH client and use the following connection details, replacing yourdomain.com with your own domain:
- Host: ssh.yourdomain.com
- Username: yourdomain.com
- Password: The password set for SFTP/SSH via your Control Panel
- Port: 22
Note: The password may not appear as you type it. This is a security feature.
Forgot your password?
No worries! Just follow the steps in the section above Create or change SSH/SFTP password.2. If this is your first time connecting to a new server, you may be asked to confirm the host key. Press Accept or Enter.
3. Once authenticated, you will have access to the server's command line, and you can start typing commands.
-
Where are my files placed
Your web space is located in a public folder called /www, and your private home folder is located at /home/yourdomain.com, replacing yourdomain.com with your own domain.
-
Available features for SSH
The features listed below are available for SSH:
Shell access
File handling
- cd - navigation in the file structure
- cp - copy files
- git - manage repositories
- mv - move and rename files
- mkdir - create directories
- rm - delete files
- chmod - change file permissions
- nano, vim, joe, emacs, jed - edit files
Database handling
- mysql
- mysqldump
- mysqlrestore
File transfer
With SSH enabled, you can securely transfer files to your web space using the protocols:
- sftp
- scp
- rsync
Related articles: