将文件复制到流浪者的远程环境中

时间:2013-03-11 11:54:42

标签: linux shell remote-access vagrant sshfs

我通过vagrant开发环境在远程代码库上工作,我使用sshfs在我的localhost上安装远程点,如下所示:

sshfs hostname:vagrant_remotemountpoint mountpoint

首先将文件复制到流浪者vagrant_remotemountpoint,然后通过nautilus打开mountpoint,然后将文件粘贴到其中。现在我喜欢使用shell命令执行此过程。

有人做过这样的努力吗?感谢。

1 个答案:

答案 0 :(得分:0)

你在shell上试过cp somefile mountpoint吗?使用sshfs,mountpoint应该看起来像系统上的普通目录。

相关问题