gh ssh-key add failing

Following the guide to add ssh keys:

I have authenticated with

gh auth login

Generated keys and added to ssh-agent using the following guide:

When I try to add using

gh ssh-key add

I get an error:

open /home/username/.ssh/ permission denied

the file has permission 0644

I’m not sure what is going wrong