Skip to main content

SSH/FTP

SSH/FTP

The SSH protocol (also referred to as Secure Shell) is a method for securing remote login from one computer to another.
It provides several alternative options for strong authentication, and it protects the communication's security and integrity with strong encryption.

Adding a User

To add a new SSH User, click on the tab SSH/FTP and enter a User Name and Password and click on Add User.

Adding a SSH User

Add your Public SSH Key(s) if you want to log in via Public Key authentication.

Deleting a User

To delete an SSH User, click on the tab SSH/FTP and then on Delete and confirm your action.

Delete a SSH User

Password Change

To change the password for an SSH User, click on the tab SSH/FTP and then on the User Name.

Enter a new strong Password or click on Generate new password and click on Save.

Change SSH User Password

SSH Login

To login via SSH to the instance, you need a terminal like iterm2 for macOS or putty for Windows.

The SSH port is 22 (default port). Before you try to connect with SSH, make sure that port 22 is open for your ip address.

Linux and MacOS:

SSH login via password

ssh john-doe@instance-ip-address

SSH login via private key

ssh -i path_to_your_private_key.pem john-doe@instance-ip-address

Windows:

In the Host Name field, enter the instance ip address and click on the button Open.

Change SSH User Password

Putty will ask you to enter the User Name and Password in the next step.

SFTP Login

To login via SFTP to the instance, you need a client like FileZilla.

Make sure that the SSH port 22 is open for your ip address.

Enter the Host, Username, Password and Port fields and click on the button Quickconnect.

Port

Make sure to use port 22 for an SFTP connection.

SFTP Login via Filezilla

FTP

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network.

Adding a User

To add a new FTP User, click on the tab SSH/FTP and enter a User Name, Password, and Home Directory and click on Add User.

Adding a FTP User

Deleting a User

To delete an FTP User, click on the tab SSH/FTP and then on Delete and confirm your action.

Delete a FTP User

Password Change

To change the password for an FTP User, click on the tab SSH/FTP and then on the User Name.

Enter a new strong Password or click on Generate new password and click on Save.

Change SSH User Password

FTP Login

To login via FTP to the server, you need a client like FileZilla.

  1. Ensure the Proftpd MasqueradeAddress is correctly set.

  2. Go to the Firewall in the Admin Area and add the following rule.

Add FTP Firewall Rule
  1. Click on Add Rule to open the ports 20-21 for your IP.

CloudPanel will also create the rule ProFTPD Passive Ports which opens the port range 49152-65534 for your IP.

  1. Open Filezilla and enter Host, Username, Password and Port fields and click on the button Quickconnect.
Port

Make sure to use port 21 for an FTP connection.

FTP Login via Filezilla