Ubuntu : 打开并登录到远程计算机

Ubuntu : Turn on and login into a remote computer

我想 运行 远程计算机上的一些应用程序。我可以使用 wakeonlan 打开它,但如何登录它并使用终端启动应用程序?

ssh yourusername@computernameorip

ProgramNameToExecute