Issue with SSH keys - always anon

Hi there, I hope that everyone is doing well. I’m wondering if anybody else has run into this? I’ve been trying to setup my ssh keys so that I can clone spaces etc. directly via ssh and not have to input my token everytime I want to push via HTTP.

I’ve generated the appropriate keys, and have added the .pub file contents to my account under the SSH keys section. This all seems to go well.

When I try to run

ssh -T git@hf.co

I still get the output

Hi anonymous, welcome to Hugging Face.

if I run with -v I get the following:

OpenSSH_8.9p1 Ubuntu-3ubuntu0.7, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /home/first_name/.ssh/config
debug1: /home/first_name/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to hf.co [3.210.66.237] port 22.
debug1: Connection established.
debug1: identity file /home/first_name/.ssh/id_rsa type -1
debug1: identity file /home/first_name/.ssh/id_rsa-cert type -1
debug1: identity file /home/first_name/.ssh/id_ecdsa type -1
debug1: identity file /home/first_name/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/first_name/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/first_name/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/first_name/.ssh/id_ed25519 type 3
debug1: identity file /home/first_name/.ssh/id_ed25519-cert type -1
debug1: identity file /home/first_name/.ssh/id_ed25519_sk type -1
debug1: identity file /home/first_name/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/first_name/.ssh/id_xmss type -1
debug1: identity file /home/first_name/.ssh/id_xmss-cert type -1
debug1: identity file /home/first_name/.ssh/id_dsa type -1
debug1: identity file /home/first_name/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.7
debug1: Remote protocol version 2.0, remote software version Huggingface-SSHD
debug1: compat_banner: no match: Huggingface-SSHD
debug1: Authenticating to hf.co:22 as 'git'
debug1: load_hostkeys: fopen /home/first_name/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:dVjzGIdV7d6cwKIeZiCoRMa2gMvSKfGZAvHf4gMiMao
debug1: load_hostkeys: fopen /home/first_name/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'hf.co' is known and matches the ED25519 host key.
debug1: Found key in /home/first_name/.ssh/known_hosts:1
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: agent returned 1 keys
debug1: Will attempt key: first_name Svendsen_AWS RSA SHA256:REDACTED_KEY_GDLg agent
debug1: Will attempt key: /home/first_name/.ssh/id_rsa 
debug1: Will attempt key: /home/first_name/.ssh/id_ecdsa 
debug1: Will attempt key: /home/first_name/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /home/first_name/.ssh/id_ed25519 ED25519 SHA256:REDACTED_KEY_YmK4e
debug1: Will attempt key: /home/first_name/.ssh/id_ed25519_sk 
debug1: Will attempt key: /home/first_name/.ssh/id_xmss 
debug1: Will attempt key: /home/first_name/.ssh/id_dsa 
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_input_ext_info: ping@openssh.com (unrecognised)
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: first_name Svendsen_AWS RSA SHA256:REDACTED_KEY_GDLg agent
debug1: Server accepts key: first_name Svendsen_AWS RSA SHA256:REDACTED_KEY_GDLg agent
Authenticated to hf.co ([3.210.66.237]:22) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: Sending environment.
debug1: channel 0: setting env LANG = "en_CA.UTF-8"
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Hi anonymous, welcome to Hugging Face.
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2828, received 1772 bytes, in 0.1 seconds
Bytes per second: sent 37036.0, received 23206.5
debug1: Exit status 0

Looking through the output, it does look like the keys have been accepted, and that I SHOULD be connected, but for some reason I am still anon.