What is SSH?
SSH (Secure Shell) is a network protocol used to securely connect to a remote computer over an insecure channel. It allows users to execute commands on a remote machine, effectively acting as a bridge between local and remote systems.
Do you provide SSH?
Yes, we provide SSH access for our hosting customers. You can use SSH to manage your hosting account, files, and databases securely.
How to get an SSH client
To connect to your hosting account via SSH, you need an SSH client application. Here are some popular options:
- Command-line tools:
ssh(Linux/macOS) orpsftp(Windows) - Graphical clients: PuTTY (Windows), FileZilla (cross-platform)
How to use SSH keys
For added security, we recommend using SSH keys instead of passwords. Here's how:
- Save the public key to your account on our platform.
- Use the private key to connect via
ssh -i /path/to/private.key username@host.
Generate an SSH key pair:
$ ssh-keygen -t rsa -b 4096
How to create/edit files via SSH
To edit a file:
$ ssh username@host "vim /path/to/file.txt"
To create a new file:
$ ssh username@host "mkdir new_folder && echo 'New file' > new_file.txt"
How to manage file permissions
Set read-only permissions:
$ ssh username@host "chattr +r /path/to/readonly_file"
Change file ownership:
$ ssh username@host "chmod 755 filename"
How to create a backup of your files
Or use rsync for syncing changes:
$ rsync -avz /local/path/ user@host:/remote/path/
Use scp to copy files:
$ scp filename user@host:/path/to/backup/
How to connect to a remote database
- Or use
ssh tunnelingfor secure connections.
Use mysql or psql:
$ ssh username@host "mysql -u dbname -p"
How to transfer files using SCP/SFTP
SFTP (SSH File Transfer Protocol):
$ sftp -P username@host:/path/to/destination/
SCP (Secure Copy Protocol):
$ scp filename user@host:/path/to/destination/
Need help?
If you encounter any issues, feel free to contact our support team via:
- Live Chat: [Link]
- Submit Ticket: [Link]
We're here to assist you with your SSH access and hosting needs.
