Call ssh-keygen once before transferring keys to nodes - fixes 401

Fixes #401