remote=worker@10.20.222.191 # 在本地执行的代码,比如上传文件到服务器 scp 本地文件 user@ip:远程目录 scp -r dist/* ${remote}:/apps/bainuo/bainuo-model2/static echo ok