ssh -oHostKeyAlgorithms=+ssh-dss xxxx@192.xxx.x.xxx 终端执行,红字部分为你要访问的服务器的名字和ip,稍等片刻,终端会提示是否输入密码,输入之后就连接上了 在服务器运行任务可以用pm2