I am working with an aws instance, linux OS. I tried the following command line:
Code:
scp -i xyz.pem path/of/filename/on/ubuntu/machine ec2-user@xx.xx.xx.xx:destination/folder/on/aws/instance
wiith the intention of transferring the file. But it threw an error log as follows.
Code:
*** stack smashing detected ***: terminated lost connection
This kind of error never happened before. I have used the above command line many times successfully in the past.
Error logs like this appear when I log into the aws instance, while using some commands like "ls" too. Also I am unable to upload files also from my ubuntu m/c into the aws instance m/c also since then.
May I know what is this problem and how to overcome it ?
Thanks