ssh -i webstechnologys_testing.pem bitnami@PUBLIC IP
hostkeys_find_by_key_hostfile: hostkeys_foreach failed for /Users/amirali/.ssh/known_hosts: Permission denied
The authenticity of host 'PUBLIC IP (PUBLIC IP)' can't be established.
ED25519 key fingerprint is SHA256:D1lVqRGzidmEU+ieKVmYViSgSnS0crDnR7+dMwYk6xA.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Failed to add the host to the list of known hosts (/Users/amirali/.ssh/known_hosts).
bitnami@PUBLIC IP: Permission denied (publickey).
How would I resolve this issue. this time I use the public ip to connect however, the inside the light sail instance Ip is different which won't allow me to make connection to ssh. Therefore, I tried to access with Public IP which was mentioned below the instance
Kindly Assist me to solve this issue