Skip to content

Commit

Permalink
verbose and more localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmn committed Aug 29, 2023
1 parent 497f3d4 commit 6e7b39d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/travisbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SSHD_DIR=`mktemp -d ${TMPDIR}/sshd.XXXXXXXX`

cat >"${SSHD_DIR}/sshd_config" <<-EOF
Port 2222
ListenAddress 0.0.0.0
ListenAddress 127.0.0.1
Protocol 2
HostKey ${SSHD_DIR}/id_rsa
PidFile ${SSHD_DIR}/pid
Expand All @@ -34,7 +34,8 @@ sleep 5
echo "cat'ing the sshd log"
cat "${SSHD_DIR}/log"

ssh-keyscan -p 2222 localhost
ssh-keyscan -v -p 2222 localhost


# Set up keys
mkdir "${HOME}/.ssh"
Expand Down

0 comments on commit 6e7b39d

Please sign in to comment.