I've been using this npm for a while and it works really great with most OS.
The only 3 OS that gives me "Error: All configured authentication methods failed" are centos stream9, ubuntu 22.04 and fedora 36 (installed automatically on hetzner servers with their automatically generated ssh-rsa key, you can easily reproduce it, it costs really some penny if you create and delete after have tried it)
I can connect with CLI, but not via the npm... Any idea?