Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove ssh server version #249

Merged
merged 1 commit into from
Mar 8, 2024
Merged

fix: remove ssh server version #249

merged 1 commit into from
Mar 8, 2024

Conversation

aymanbagabas
Copy link
Member

Golang SSH will set a default version when this is empty, using "OpenSSH_7.6p1" is misleading and causes SSH clients to misidentify the server version.

Reference: https://pkg.go.dev/golang.org/x/crypto/ssh#:~:text=//%20%22SSH%2D2.0%2D%22.-,ServerVersion,-string%0A%0A%09//%20BannerCallback%2C%20if
Fixes: charmbracelet/soft-serve#485

Golang SSH will set a default version when this is empty, using
"OpenSSH_7.6p1" is misleading and causes SSH clients to misidentify the
server version.

Reference: https://pkg.go.dev/golang.org/x/crypto/ssh#:~:text=//%20%22SSH%2D2.0%2D%22.-,ServerVersion,-string%0A%0A%09//%20BannerCallback%2C%20if
Fixes: charmbracelet/soft-serve#485
@aymanbagabas aymanbagabas merged commit 3d2054d into main Mar 8, 2024
12 checks passed
@aymanbagabas aymanbagabas deleted the version branch March 8, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

align soft-serve ssh server [config] with ssh-audits recommendations
2 participants