How to copy File to ec2 instance using winscp

Download winscp , have ppk file extracted from the keypair , make sure the server is up and running .

Go to Advanced and under Authentication select the private key ppk file

Error if the host name is incorrect . Since we use free tire server hostname will change after every reboot .
gethostbyname: unknown error

We can get the public hostname or DNS from the aws console by clicking on the instance to which we want to connect .

We have successfully connect to the server and can able to copy the files to and from the server .

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *