Skip to content

handshake failed: [ssh: no auth passed yet] #17

Open
@realyukii

Description

@realyukii

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: [[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 [email protected] [email protected] 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions