Using generate_ssh_key properly