Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我rz在 ssh 客户端中使用命令将一些文件上传到我的远程应用程序服务器 A。如果我登录远程服务器 A 并且当前在路径中/home/xxx/。我想上传一个文件到路径'/home/xxx/work'下。那么对于rz命令,是否有一个命令参数来指定A是上传文件的放置路径?
rz
/home/xxx/
在远程端使用复合命令:
ssh foo@bar "cd work && rz ..."