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

Fixes #401 
The tests still pass if this `[:2]` is removed.