Skip to content

Commit f5e7373

Browse files
committed
x
1 parent dfb0da4 commit f5e7373

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
SSH_KNOWN_HOSTS_FILE="${HOME}/.ssh/known_hosts"
44

5+
cat "${SSH_KNOWN_HOSTS_FILE}"
6+
57
if ! grep -q "${SSH_KNOWN_HOSTS}" "${SSH_KNOWN_HOSTS_FILE}"; then
68
echo "::error file=$(basename "$0"),line=${LINENO},endLine=${LINENO},title=Assertion Error::\
79
${SSH_KNOWN_HOSTS_FILE} file should contain the ssh fingerprint."

0 commit comments

Comments
 (0)