I was trying to connect to my PTfS account in Fritz from a new device but it is asking me for a password. I have tried creating a new key and uploaded it to portal.hpc.fau.de and updated the config file, but still, doesn´t seem to work. I installed FAU VPN and tried connecting to Fritz directly (connected vpn: vpn.fau.de) but that is also asking for a password. Could someone suggest ways to debug/fix this issue?
Here is the verbose output of ssh @fritz.nhr.fau.de with VPN connected. Redacted the keys.
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug1: Reading configuration data C:\\Users\\arjun/.ssh/config
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to fritz.nhr.fau.de [10.xx.xx.21] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\arjun/.ssh/id_rsa type 0
debug1: identity file C:\\Users\\arjun/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_dsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519_sk type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
debug1: compat_banner: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
debug1: Authenticating to fritz.nhr.fau.de:22 as 'ptfs2xxh'
debug1: load_hostkeys: fopen C:\\Users\\arjun/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug1: load_hostkeys: fopen C:\\Users\\arjun/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'fritz.nhr.fau.de' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\arjun/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_rsa RSA SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_dsa
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ecdsa
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ecdsa_sk
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ed25519
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ed25519_sk
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs= debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: C:\\Users\\arjun/.ssh/id_rsa RSA SHA256:xxxxxx//xxxxxx/xxxxxx
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_dsa
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ecdsa
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ecdsa_sk
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ed25519
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ed25519_sk
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_xmss
debug1: Next authentication method: password
ptfs2xxh@fritz.nhr.fau.de's password:
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug1: Reading configuration data C:\\Users\\arjun/.ssh/config
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to fritz.nhr.fau.de [10.xx.xx.21] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\arjun/.ssh/id_rsa type 0
debug1: identity file C:\\Users\\arjun/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_dsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519_sk type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\arjun/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
debug1: compat_banner: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
debug1: Authenticating to fritz.nhr.fau.de:22 as 'ptfs2xxh'
debug1: load_hostkeys: fopen C:\\Users\\arjun/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug1: load_hostkeys: fopen C:\\Users\\arjun/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'fritz.nhr.fau.de' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\arjun/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_rsa RSA SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_dsa
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ecdsa
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ecdsa_sk
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ed25519
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_ed25519_sk
debug1: Will attempt key: C:\\Users\\arjun/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs= debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: C:\\Users\\arjun/.ssh/id_rsa RSA SHA256:xxxxxx//xxxxxx/xxxxxx
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_dsa
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ecdsa
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ecdsa_sk
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ed25519
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_ed25519_sk
debug1: Trying private key: C:\\Users\\arjun/.ssh/id_xmss
debug1: Next authentication method: password
ptfs2xxh@fritz.nhr.fau.de's password:
never mind, there was a typo in my config file :P