You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created the keys following the README, so ls ~/.ssh/:
-rw-rw-r-- 1 user user 173 ott 6 21:41 authorized_keys
-rw------- 1 user user 614 ott 6 21:33 host_ecdsa-nistp521-sphincsshake256fsimple
-rw-r--r-- 1 user user 173 ott 6 21:33 host_ecdsa-nistp521-sphincsshake256fsimple.pub
-rw------- 1 user user 614 ott 6 21:02 id_ecdsa-nistp521-sphincsshake256fsimple
-rw-r--r-- 1 user user 173 ott 6 21:02 id_ecdsa-nistp521-sphincsshake256fsimple.pub
Well, I started the server running "$(pwd)/sshd" -D -f ../sshd_config.
But when I try to connect with ./ssh -vvv -F ../ssh_config -p 3000 127.0.0.1, I'll get:
OpenSSH_8.9-2022-01_p1, Open Quantum Safe 2022-08, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data ../ssh_config
debug1: ../ssh_config line 20: Applying options for *
debug3: kex names ok: [[email protected]]
debug2: resolve_canonicalize: hostname 127.0.0.1 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 3000.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_ecdsa-nistp521-sphincsshake256fsimple type 31
debug1: identity file /home/user/.ssh/id_ecdsa-nistp521-sphincsshake256fsimple-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9-2022-01_
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9-2022-01_
debug1: compat_banner: match: OpenSSH_8.9-2022-01_ pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 127.0.0.1:3000 as 'user'
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: [email protected],ext-info-c
debug2: host key algorithms: ssh-ecdsa-nistp521-sphincsshake256fsimple
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected],zlib
debug2: compression stoc: none,[email protected],zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: [email protected]
debug2: host key algorithms:
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: (no match)
Unable to negotiate with 127.0.0.1 port 3000: no matching host key type found. Their offer:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks,
I'm trying to test to connect locally but my problem seems that the server doesn't offer any host key algorithm.
My server listen on port 3000.
My
sshd_config
:My
ssh_config
:I created the keys following the README, so
ls ~/.ssh/
:Well, I started the server running
"$(pwd)/sshd" -D -f ../sshd_config
.But when I try to connect with
./ssh -vvv -F ../ssh_config -p 3000 127.0.0.1
, I'll get:What am I doing wrong?
Thanks a lot for every help!
Beta Was this translation helpful? Give feedback.
All reactions