Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/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
Cygwin 从Windows7客户端将SFTP导入Google计算引擎_Cygwin_Sftp_Ssh Keys_Google Compute Engine_Windows Client - Fatal编程技术网

Cygwin 从Windows7客户端将SFTP导入Google计算引擎

Cygwin 从Windows7客户端将SFTP导入Google计算引擎,cygwin,sftp,ssh-keys,google-compute-engine,windows-client,Cygwin,Sftp,Ssh Keys,Google Compute Engine,Windows Client,我正在尝试从Windows 7 64位客户端在Google Compute Engine上创建一个SFTPDebian-7-Wheezy-V20140807实例 同样在Windows中,我首先安装了Cygwin,然后使用将环境变量CLOUDSDK\u PYTHON设置为PYTHON,而不是C:\python27\PYTHON.exe 最后从cygwin运行这个 curl https://sdk.cloud.google.com | bash 以下所有说明均为症状。首先我尝试了Filezill

我正在尝试从Windows 7 64位客户端在Google Compute Engine上创建一个
SFTP
Debian-7-Wheezy-V20140807实例

同样在Windows中,我首先安装了Cygwin,然后使用将环境变量
CLOUDSDK\u PYTHON
设置为PYTHON,而不是
C:\python27\PYTHON.exe

最后从
cygwin
运行这个

curl https://sdk.cloud.google.com | bash
以下所有说明均为症状。首先我尝试了Filezilla,它在消息中出错

我也试过了

Abdul@deccan4-clone:/home/a_rahman_synergywell_com$ gcloud compute copy-files de                                                                                                            ccan4-clone:test.txt  test.txt --zone=us-central1-b
如果我缺少一些密钥设置,请告诉我

gcloud compute copy-files deccan4-clone:/etc/ssh/ssh_host_rsa_key.pub  ssh_host_rsa_key.pub --zone=us-central1-b
ssh_host_rsa_key.pub: **Permission denied
ERROR**: (gcloud.compute.copy-files) exit code 1: /usr/bin/scp -i /home/Abdul/.ssh/google_compute_engine
sudo gcloud compute copy-files deccan4-clone:/etc/ssh/ssh_host_rsa_key.pub  ssh_host_rsa_key.pub --zone=us-central1-b
WARNING: You do not have an SSH key for Google Compute Engine.
WARNING: ssh-keygen will be executed to generate a key.
This tool needs to create the directory /root/.ssh before being able
to generate SSH keys.

Do you want to continue (Y/n)?  Y

Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/google_compute_engine.
Your public key has been saved in /root/.ssh/google_compute_engine.pub.
The key fingerprint is:
 root@deccan4-clone

**ERROR: (gcloud.compute.copy-files) some requests did not succeed:
 - Insufficient Permission**
Abdul@deccan4-clone:/home/a_rahman_synergywell_com$ gcloud compute copy-files de                                                                                                            ccan4-clone:test.txt  test.txt --zone=us-central1-b
scp: test.txt: No such file or directory
ERROR: (gcloud.compute.copy-files) exit code 1: /usr/bin/scp -i /home/Abdul/.ssh                                                      
/google_compute_engine -r Abdul@23.236.51.19:test.txt test.txt