Generate and transfer SSH key.