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

Fixes #401 
And in general that seems a little fragile.