User Tools

Site Tools


transferring_files_to_ec2_instance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
transferring_files_to_ec2_instance [2017/07/26 06:46] walkeradmintransferring_files_to_ec2_instance [2024/10/02 17:09] (current) – removed walkeradmin
Line 1: Line 1:
-====== Transferring files to EC2 Instance ====== 
-<color darkorange>Jun 2017</color> 
-\\  
-\\  
- 
----- 
-===== Introduction ===== 
-\\  
-There are a few ways to transfer files to and from an Amazon EC2 instance. If you are using a desktop environment, then you can use programs like Putty, WinSCP or MobaXterm. These graphically driven programs make transferring files very simple. 
-\\  
-\\  
-However, from the command line it can be a little trickier. In this example we will look at transferring files to and from an Amazon EC2 instance from the Linux command line using SCP. 
-\\  
-\\  
- 
----- 
-==== How to transfer files ==== 
-\\  
-To be able to connect to your Amazon EC2 instance you will require your EC2 Instance key pair. Copy your key file to a directory on your source Linux server. 
-\\  
-\\  
-{{ :scp_001.jpg?600 |}} 
-\\  
-\\  
-Before we can use the key we have to change its permissions, if you don't do this Amazon will reject the key on security grounds. 
-\\  
-\\  
-Use chmod to change your key.pem file permissions. 
-\\  
-\\  
-{{ :scp_002.jpg?600 |}} 
-\\  
-\\  
-    chmod 0400 keyfile.pem 
-\\  
-The keyfile.pem should now have the following permissions: <color #ff7f27>-r--------</color> 
-\\  
-\\  
  
transferring_files_to_ec2_instance.1501051613.txt.gz · Last modified: (external edit)