http-over-ssh
http-over-ssh copied to clipboard
userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
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 .