scp without known_hosts check

scp is supposed to take the same command line options as ssh, try:

-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null

Maybe add -q to disable the warnings as well.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)