-
Notifications
You must be signed in to change notification settings - Fork 0
Upload files to a Linux EC2 instance and protect restrict access to yourself using FileZilla
Marc Grossouvre edited this page Oct 11, 2019
·
4 revisions
This is useful to upload a private key file.
Same as for Connect to an EC2 instance in SSH mode with PuTTY
- Download and install FileZilla from here
- Launch FileZilla
- Click Edit -> Settings -> Connection -> SFTP -> Add key file
- Select your
.ppk
private key file and click Open - Click File -> Site Manager...
- Enter parameters :
- Protocol : SFTP - SSH file transfer protocol
- Host :
sftp://your_instance_public_IP_address
- Port : 22
- Logon Type : Normal
- User :
ec2-user
(or root if that one doesn't work, it depends on your AMI)
- Your own location is on the left pane and the remote one is on the right one
- Transfer your file(s) to /home/ec2-user folder (drag and drop or double click)
Especially if you have uploaded a private key, do it at once.
Connect to your EC2 instance in SSH mode with PuTTY
Enter command line : chmod 400 myFileName.myExtension