How to connect to AWS EC2 instance using filezillla?
Solution 1
More specifically here's a screenshot of the dialog where you are supposed to add your ssh private key.
Solution 2
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:
- Go to Filezilla's Settings
- SFTP
- Add Key File (Give the ppk converted key file or FZ will convert the pem ket)
Then take File in Filezilla Go to
- File
- Site Manager
- New Site
- Give any name (ec2-amazon)
- In General, give host name 'Public DNS' (eg: ec2-34-423.ap-southeast...)
- Change the Protocol to
SFTP
- Logon Type:
Normal
- User :
ec2-user
orubuntu
- depends - Clear Password
- Connect!
Hope you will be connected. Happy Hosting...:)
Solution 3
Try the following configuration in filezilla,
set Logon type = Interactive,Protocal = SFTP, and attach keyfile to filezilla SFTP setting from MenuBar -> Edit -> Settings ->SFTP -> Add Key File.
Hope this helps.
Related videos on Youtube
user2334385
Updated on June 04, 2022Comments
-
user2334385 almost 2 years
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
-
Rico about 10 yearsSomething wrong with your key. Have you tried connecting using regular ssh ?
-
user2334385 about 10 yearsftp is easy, regular ssh metod is not..I will get crazy..I dont have any problem with the key.
-
user2334385 about 10 yearsI did it..I found private key and I used it. For connection instance via filezilla or SSH u need private key, not a key pair..Thanks to all
-
brandonscript over 9 yearsWhile this might answer the question, in it's current format it's very hard to read. Consider rewording the answer to improve legibility.
-
Amith Ajith over 9 years@remus: Is it okay now?
-
brandonscript over 9 yearsUse some of SO's markdown formatting to clean up the bullet points maybe?