We can login into Amazon EC2 instance using Filezilla FTP client for simple transfers of local files.
Following are the steps:
1. Download and install Filezilla client.
2. Goto Filezilla settings(Windows) or Filezlla preferences (MAC)
3. Click on SFTP, on right side, click on add key file.
4. Select your .pem file. It will prompt you to convert into PPK file.
5. Click ok to close the settings/preferences window.
6. Open site manager, create a new site as show in the image below.
Host: your AMI address
ServerType: SFTP
Logon Tpe: Normal
User: ec2-user
No password required ! Filezilla will read through the keys and find the right key for the user/server pair that you are connecting to.
Subscribe to:
Post Comments (Atom)
Python contextlib for Timing Python code
If you've ever found yourself needing to measure the execution time of specific portions of your Python code, the `contextlib` module o...
-
If you get the following error while installing FFMPEG or other packages on CentOS 7. Requires: libva.so.1(VA_API_0.33.0)(64bit) Follow...
-
Common error: fallocate: fallocate failed: Text file busy in ubuntu OS Check the allocation: free -m or sudo swapon --show Make sure ...
-
How to fix Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' Apparently, Ma...
Just what I was looking for. Thanks a lot!
ReplyDeletethank you very much, this is what I expected!!!!!
ReplyDeleteonce i'm in, i wonna be root? how to do so? or how can i log in as root?
ReplyDeleteHi Anas,
ReplyDeleteThank you for the comment. Sorry, I dont know how to be the root thru filezilla.
I usually give permissions to ec2-user to a desired folder thru command line.
Cheers !
Cheers, perfect, simple, to the point
ReplyDeletePerfect thank you
ReplyDeletethanks for the post
ReplyDeletebut im unable to get the files through amazon
Thanks!
ReplyDeleteThanks man. You did a good job by writing this.
ReplyDeleteHey, I had great trouble with this article, but it led me in the right direction. I wanted to add this fact: he means to click the AMI ID and then scroll down on the bottom half until you see "Public DNS:"... THAT is the code yuo need to connect =)... Just logged in myself!
ReplyDeleteThanks Halfbreed... I will update the post soon with your info. ! :)
ReplyDeleteThanks for nice simple instructions!
ReplyDeleteAmazing man, thank you very much.
ReplyDeleteThank you! it wroks
ReplyDeleteMany thanks - saved a lot of time!
ReplyDeleteHi,
ReplyDeleteI had successfully created connection with EC2 by Filezilla. But I am not able to change or upload file to EC2. Is this require extra efforts?
nice good work
ReplyDeletefilezilla server free download
HI,
ReplyDeleteI'm not being able to create a connection to the EC2 instance.
I'm running FileZilla 3.11.0.2
I'm running filezilla on my mac (Yosemite)
I have specified my Amazon key pair in the filezilla settings under SFTP
I have entered in my host using my public DNS (Elastic IP)
I have specified the user to be ec2-user. (Tried with ubuntu and root also)
I have opened up ports 22 for SSH on my amazon security groups for 0.0.0.0/0.
I also tried with opening all ports for 0.0.0.0/0
Status: Connecting to ec2-###-###-###-###.us-west-1.compute.amazonaws.com...
Response: fzSftp started, protocol_version=2
Command: keyfile "/Users/MS/Documents/AWS/amazon.ppk"
Command: open "ec2-user@ec2-###-###-###-###.us-west-2.compute.amazonaws.com" 22
Error: Connection timed out
Error: Could not connect to server
Are there any suggestions as to what may be blocking my connection?? have spent about 4 hours now trying to get this to work - has to be something simple that I'm missing?
Thanks for any suggestions.
Superb!
ReplyDelete