mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-19 21:25:22 +08:00
fix: remove debug output of known_hosts file in entrypoint script
This commit is contained in:
@@ -35,10 +35,6 @@ if [ "${INPUT_STRICT_HOSTKEYS_CHECKING:-false}" = "true" ]; then
|
||||
echo "$key" | ssh-keygen -lf -
|
||||
# add to known hosts
|
||||
echo "$key" | while IFS= read -r line; do hosts-add "$line"; done
|
||||
|
||||
set +x
|
||||
echo "debug"
|
||||
cat $HOME/.ssh/known_hosts
|
||||
else
|
||||
echo "Warning: failed to fetch host key for $INPUT_REMOTE_HOST" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user