Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect to AWS EC2 instance using filezillla?

I have AWS EC2 instance. I am using filezilla 3.8.0 but I cannot connect instance, filezilla doesnt accept account type normal and asking password. When I type user name ubunbu and password blank I received following message:

Disconnected: No supported authentication methods available (server sent: publickey)

I inserted pem key and converted ppk key also. My staff can connect but I cant. What is wrong?

Thanks

like image 261
user2334385 Avatar asked Apr 10 '14 09:04

user2334385


People also ask

How do I FTP to AWS?

Open the AWS Transfer Family console at https://console.aws.amazon.com/transfer/ and select Servers from the navigation pane, then choose Create server. In Choose protocols, select FTP, and then choose Next. In Choose an identity provider, choose the identity provider that you want to use to manage user access.


1 Answers

It happens in AWS EC2. As EC2 provide Connection through an SFTP need some other methods. Firstly the CONNECTION will be in FTP as default. Need to change to SFTP. Then instead of directly giving host name and password, it must be done in Site manager. Step by step procedure given below:

So the steps for troubleshooting:

  1. Go to Filezilla's Settings
  2. SFTP
  3. Add Key File (Give the ppk converted key file or FZ will convert the pem ket)

Then take File in Filezilla Go to

  1. File
  2. Site Manager
  3. New Site
  4. Give any name (ec2-amazon)
  5. In General, give host name 'Public DNS' (eg: ec2-34-423.ap-southeast...)
  6. Change the Protocol to SFTP
  7. Logon Type: Normal
  8. User : ec2-user or ubuntu - depends
  9. Clear Password
  10. Connect!

Hope you will be connected. Happy Hosting...:)

like image 58
Amith Ajith Avatar answered Sep 28 '22 02:09

Amith Ajith