Common up SSH key generation code

this line will fail to find 01 through 09 on the osx build.