We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 747af66 + e33d7c0 commit 3ee86a3Copy full SHA for 3ee86a3
ci/test.sh
@@ -170,6 +170,11 @@ if [ -z "$SKIP_SSH_TESTS" ]; then
170
echo "[localhost]:2222 $algorithm $key" >>"${HOME}/.ssh/known_hosts"
171
done <"${SSHD_DIR}/id_rsa.pub"
172
173
+ # Append the github.com keys for the tests that don't override checks.
174
+ # We ask for ssh-rsa to test that the selection based off of known_hosts
175
+ # is working.
176
+ ssh-keyscan -t ssh-rsa github.com >>"${HOME}/.ssh/known_hosts"
177
+
178
# Get the fingerprint for localhost and remove the colons so we can
179
# parse it as a hex number. Older versions have a different output
180
# format.
0 commit comments