For ec2 server
#move your key to /tmp or right folder on server
Assign right permission
sudo chmod 600 /tmp/dev-sunrobotics-snippetbucketcom.pem
then connect to server or transfer
scp -i /tmp/dev-snippetbucketcom.pem filestore.tar.gz ubuntu@85.111.5.33.98:/tmp
Make sure in your ip security you have allow ip address to connect