R
RunPod6mo ago
pitcany

Unable to SSH

I could SSH in with ssh y8z10r63w2hkzp-64410d61@ssh.runpod.io -i ~/.ssh/id_ed25519 but not when using SFTP and SCP enabled SSH with ssh root@24.109.105.158 -p 45044 -i ~/.ssh/id_ed25519. I added my public key to the pod already. Why am I getting an error when trying to SSH. Please help. This is the error I get. ~ % ssh root@24.109.105.158 -v -p 45044 -i ~/.ssh/id_ed25519 OpenSSH_9.6p1, OpenSSL 3.2.0 23 Nov 2023 debug1: Reading configuration data /opt/homebrew/etc/ssh/ssh_config debug1: Connecting to 24.109.105.158 [24.109.105.158] port 45044. debug1: Connection established. debug1: identity file /Users/yannik/.ssh/id_ed25519 type 3 debug1: identity file /Users/yannik/.ssh/id_ed25519-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9p1 Ubuntu-3ubuntu0.5 debug1: compat_banner: match: OpenSSH_8.9p1 Ubuntu-3ubuntu0.5 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 24.109.105.158:45044 as 'root' debug1: load_hostkeys: fopen /Users/yannik/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /opt/homebrew/etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /opt/homebrew/etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com 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:KUHoEYHzo4U5YEz10WiV0TXL/QcYkapjBOzYFMPYsiw debug1: load_hostkeys: fopen /Users/yannik/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /opt/homebrew/etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /opt/homebrew/etc/ssh/ssh_known_hosts2: No such file or directory debug1: Host '[24.109.105.158]:45044' is known and matches the ED25519 host key. debug1: Found key in /Users/yannik/.ssh/known_hosts:21 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: SSH2_MSG_EXT_INFO received debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com> debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: get_agent_identities: bound agent to hostkey debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities debug1: Will attempt key: /Users/yannik/.ssh/id_ed25519 ED25519 SHA256:CHfeLDV4wqHUDKNV9M98QGAb/UIHRZubZCYKX4gY0zA explicit debug1: Offering public key: /Users/yannik/.ssh/id_ed25519 ED25519 SHA256:CHfeLDV4wqHUDKNV9M98QGAb/UIHRZubZCYKX4gY0zA explicit debug1: Authentications that can continue: publickey,password debug1: Next authentication method: password root@24.109.105.158's password:
1 Reply
justin
justin6mo ago