generate ssh code