http-over-ssh icon indicating copy to clipboard operation
http-over-ssh copied to clipboard

userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

Open commonism opened this issue 2 years ago • 0 comments

OpenSSH 8.8 deprecated using ssh-rsa. golang/crypto/ssh does not play nice with OpenSSH 8.8.

Using https://github.com/tobischo/gocrypto/commit/a878079a19cdba9b9da3ce57de2c4c9cb43b7ea3 it works.

go mod edit -replace golang.org/x/crypto=github.com/tobischo/gocrypto@a878079a19cdba9b9da3ce57de2c4c9cb43b7ea3
go mod tidy
CGO_ENABLED=0 go build .

commonism avatar Jun 19 '23 09:06 commonism