pitcany
Unable to SSH
I could SSH in with ssh [email protected] -i ~/.ssh/id_ed25519
but not when using SFTP and SCP enabled SSH with ssh [email protected] -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 [email protected] -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: [email protected]
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] 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,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected]>
debug1: kex_ext_info_check_ver: [email protected]=<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
[email protected]'s password:
3 replies