Skip to content

Commit

Permalink
runconfig: temporary enable ssh client ssh-rsa sha1 signature algorithm
Browse files Browse the repository at this point in the history
Newer versions of openssh client disables ssh-rsa sha1 public key
signature algorithm.

Unfortunately gitea ssh server requires this signature algorithm instead
of using the stronger rsa-sha2-256/rsa-sha2-512 (see
go-gitea/gitea#17798)

So, as a temporary workaround, force enable on the ssh client the
ssh-rsa sha1 signature algorithm.
  • Loading branch information
sgotti committed Mar 22, 2022
1 parent 56e887f commit 53ae1a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/runconfig/runconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Host $AGOLA_GIT_HOST
Port $AGOLA_GIT_PORT
StrictHostKeyChecking ${STRICT_HOST_KEY_CHECKING}
PasswordAuthentication no
PubkeyAcceptedAlgorithms +ssh-rsa
EOF
)
Expand Down

0 comments on commit 53ae1a3

Please sign in to comment.