gliderlabs / gliderlabs/sshfront

handshake failed: [ssh: no auth passed yet]

Open
#17 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
328
Forks
27
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.