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])?…