Non thread-safe SSH key generation.