added assertion that key file is not copied to agent machine when using scp file transfer