SSH | How to disable host key checking
Use ssh with -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no BE CAREFUL!
Use ssh with -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no BE CAREFUL!
RANDOMARRAYELEMENT=${ARRAY[$RANDOM % ${#ARRAY[@]} ]} PLS NOTE: —> N E A R L Y<— For simple purposes, not for cryptography. ;)
ssh reads from stdi and absorbs all the nest incoming lines. Avoid this feeding him from /dev/null. ssh -p 666 user@my.host.org COMMAND < /dev/null