skip to Main Content

Connecting to ec2 instance from mac terminal is showing "Not a directory" – Amazon Web Sevices

apple@Apples-MacBook-Pro-2 ~ % ssh ec2-13-127-165-161.ap-south-1.compute.amazonaws.com hostkeys_find_by_key_hostfile: hostkeys_foreach failed for /Users/apple/.ssh/known_hosts: Not a directory The authenticity of host 'ec2-13-127-165-161.ap-south-1.compute.amazonaws.com (13.127.165.161)' can't be established. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])?…

VIEW QUESTION

AWS SDK v2: While copying files on S3: TypeError: Cannot read property 'appendToUserAgent' of undefined – Amazon Web Sevices

I'm calling the copyObject method of aws-sdk v2 's S3 class: const s3 = new AWS.S3({...s3Config}); // attempt 1 let copyObject = { Bucket: 'my-bucket-name', CopySource: `s3://my-bucket-name/my/file/path`, Key: `/my/destination/path`, } await s3.copyObject(copyObj); // attempt 2 copyObject = { Bucket: 'my-bucket-name',…

VIEW QUESTION
Back To Top
Search