-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I tried the following on the ssh client:
$ ssh localhost hemlo
Unable to negotiate with 127.0.0.1 port 22: no matching host key type found. Their offer: ssh-rsa
and on the sshfront:
sudo ./sshfront -a "" -d -h 127.0.0.1 `which echo`
2025/02/25 04:16:58 host key file error: open ~/.ssh/id_rsa: no such file or directory
2025/02/25 04:16:58 no host key provided, generating host key
2025/02/25 04:16:58 sshfront v0.2.1 listening on 127.0.0.1:22 ...
2025/02/25 04:17:10 handshake failed: ssh: no common algorithm for host key; client offered: [ssh-ed25519-cert-v01@openssh.com ecdsa-sha2-nistp256-cert-v01@openssh.com ecdsa-sha2-nistp384-cert-v01@openssh.com ecdsa-sha2-nistp521-cert-v01@openssh.com sk-ssh-ed25519-cert-v01@openssh.com sk-ecdsa-sha2-nistp256-cert-v01@openssh.com rsa-sha2-512-cert-v01@openssh.com rsa-sha2-256-cert-v01@openssh.com ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 sk-ssh-ed25519@openssh.com sk-ecdsa-sha2-nistp256@openssh.com rsa-sha2-512 rsa-sha2-256], server offered: [ssh-rsa]
whether the ssh username is set or not, it still shows the same error
Metadata
Metadata
Assignees
Labels
No labels