Skip to content

Commit 53ae1a3

Browse files
committed
runconfig: temporary enable ssh client ssh-rsa sha1 signature algorithm
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.
1 parent 56e887f commit 53ae1a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/runconfig/runconfig.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Host $AGOLA_GIT_HOST
109109
Port $AGOLA_GIT_PORT
110110
StrictHostKeyChecking ${STRICT_HOST_KEY_CHECKING}
111111
PasswordAuthentication no
112+
PubkeyAcceptedAlgorithms +ssh-rsa
112113
EOF
113114
)
114115

0 commit comments

Comments
 (0)