Connect AWS lightsail With An SSH Client & FTP Client

awsligtsail

Linux and Mac OS X come bundled with SSH clients by default. In order to log in to your server, follow the steps below:

 

Step 1: Open a new terminal window on your local system.

Step 2: First locate your key file directory and set the permissions for your private key file (.pem) to 600 using a command like the one below.

Chmod 600 keyfile.pem

 

Step 3: Connect to the server using the following command:

Ssh -i keyfile ubuntu@server-ip

Remember to replace KEYFILE in the previous commands with the path to your private key file (.pem), SERVER-IP with the public IP address or hostname of your server and username OS installed on VPS eg: ubuntu, centos, bitnami, etc

 

SSH clients might ask you to confirm the server’s host key and add it to the cache before connecting. Accept this request by typing or selecting “Yes”

 

You should now be logged in to your server. Here is an example of what you’ll see:

 

Connect AWS lightsail With FTP Client

Step 1: Open FTP client ( eg Filezilla /Cyberduck )  on your local system.

Step 2:  Here I am connecting using Cyberduck.

Remember to choose the ssh private key file with the path to your private key file (.pem), SERVER-IP with the public IP address or hostname of your server and username OS installed on VPS eg: ubuntu, centos, bitnami, etc.

 

Step 3: FTP clients might ask you to confirm the unknown fingerprint.Accept this request by typing or selecting “ALLOW”

You should now be logged in to your server. Here is an example of what you’ll see:

Step 3: You can change to the application root directory by Changing to /var/www

 

If there is anything you like to know more about then please contact us at 01-5224498 or you can email us at support@cloudlaya.com.

Leave a Reply

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages