Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssh 将文件从一个google计算引擎实例传输到另一个实例?_Ssh_Scp_Google Compute Engine_Pull_Gcutil - Fatal编程技术网

Ssh 将文件从一个google计算引擎实例传输到另一个实例?

Ssh 将文件从一个google计算引擎实例传输到另一个实例?,ssh,scp,google-compute-engine,pull,gcutil,Ssh,Scp,Google Compute Engine,Pull,Gcutil,我正在尝试将文件从一个GCE实例复制到另一个。我想尝试使用gcutil pull,而不是将谷歌云存储与gsutil(这有时会挂起) 我正在努力做到: gcutil pull someInstance /some/file/path/here . 它可以工作,但是命令要求我输入一个新的密码短语(我假设是ssh)。由于我是从脚本运行此脚本,有没有办法将此密码短语默认为空?可能尝试使用无密码SSH: 我使用gcutil push将文件从主节点发送到从节点(hadoop/spark)

我正在尝试将文件从一个GCE实例复制到另一个。我想尝试使用
gcutil pull
,而不是将谷歌云存储与
gsutil
(这有时会挂起)

我正在努力做到:

gcutil pull someInstance /some/file/path/here .

它可以工作,但是命令要求我输入一个新的密码短语(我假设是ssh)。由于我是从脚本运行此脚本,有没有办法将此密码短语默认为空?

可能尝试使用无密码SSH:

我使用gcutil push将文件从主节点发送到从节点(hadoop/spark)