6

Where to download .ppk file from aws light sail

Hi , i want to create a new ftp account for my website in aws swerver . When i check the aws server in lightsail section i can see my magento instances (web & db instance ).

Now i want to connect to my file using filezila . What i have to do ? I am checking Internet for some time but everything is confusing

What i did is i go to https://lightsail.aws.amazon.com/ls/webapp/account/keys then ssh key then download the key . But now how i can connect throuh filezila . The downloaded file is .pem file .

Please help

1 Answer 1

6

AWS by default provides the key in pem file, all you need to convert pem to ppk.

PuTTY does not natively support the private key format (.pem) generated by Amazon EC2. PuTTY has a tool named PuTTYgen, which can convert keys to the required PuTTY format (.ppk). You must convert your private key into this format (.ppk) before attempting to connect to your instance using PuTTY.

To convert your private key

  • From the Start menu, choose All Programs, PuTTY, PuTTYgen.

  • Under Type of key to generate, choose RSA.

  • Choose Load. By default, PuTTYgen displays only files with the extension .ppk. To locate your .pem file, select the option to display files of all types.

enter image description here

enter image description here You can check for conversation here and here.

8
  • 1
    really thank you . I will check this and let you know Sep 17, 2019 at 10:49
  • hi i did asper mentioned . and i save the private key . i dont know even i have to save public or private key . After saving the private key i try to connect using filezila but there is error . What i have to write in User : filed of filezila ? . How i can understand my username . please help Sep 17, 2019 at 10:56
  • its depend on AMI, but you get one from AWS console ec2 connect
    – Adiii
    Sep 17, 2019 at 11:02
  • Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server Sep 17, 2019 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.