I am attempting to transfer a tarball from my Oracle Cloud VM to my local machine, when I try it says:
remote_username@ip_address: Permission denied(publickey)
Since I guessed this was my publickey refusing to allow this due to an issue with permissions I located the authorised_keys file in my VM on the assumption this would hold my public key but when I try to change the permissions it says:
chmod: cannot access '/home/remote_username/.ssh/authorised_keys': No such file or directory
it appears to think the file I am trying to change permissions for does not exist despite the fact that the file clearly exists, the VM for whatever reason does not recognize it's existence and I'm not sure how to get it to realize there is in-fact a file there that can have it's permissions altered so that I can actually transfer files from my VM to my local machine.