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.
1 parent bd8b2c0 commit e932dc6Copy full SHA for e932dc6
script/travisbuild
@@ -34,6 +34,11 @@ while read algorithm key comment; do
34
echo "[localhost]:2222 $algorithm $key" >>"${HOME}/.ssh/known_hosts"
35
done <"${SSHD_DIR}/id_rsa.pub"
36
37
+# Append the github.com keys for the tests that don't override checks. Some
38
+# older libssh2 versions don't like it unless we have ssh-rsa in here. This also
39
+# tests that the automatic selection off of known_hosts is working.
40
+ssh-keyscan -t ssh-rsa github.com >>"${HOME}/.ssh/known_hosts"
41
+
42
# Get the fingerprint for localhost and remove the colons so we can
43
# parse it as a hex number. Older versions have a different output
44
# format.
0 commit comments