\n are not needed outside the ssh_exec function.