简体   繁体   English

无法使用SFTP Bitnami(Wordpress)Google Cloud实例

[英]Unable to SFTP Bitnami (Wordpress) Google Cloud Instance

I'm trying to SFTP Compute Engine from MAC using Filezilla. 我正在尝试使用Filezilla从MAC支持SFTP计算引擎。 I can SSH with port 22 without any problem. 我可以使用22端口进行SSH,没有任何问题。 But I need R/W/D access to my files and trying SFTP to port 21 and getting the following error, 但是我需要对我的文件进行R / W / D访问,并尝试通过SFTP到端口21并出现以下错误,

Command:    keyfile "/bitnami-google-api-project-4xxxxxxxxxx.pem"
Command:    open "bitnami@104.xxx.xxx.xxx" 21
Error:      Connection refused
Error:      Could not connect to server

I referred a couple of similar threads here nothing make this work, sofar I did, 我提到了几个类似的线程,但我做不到,

  1. Bitnami Key added in Google Compute Engine and both are same Added. 在Google Compute Engine中添加的Bitnami Key都相同。
  2. PEM key file (MAC) in FileZilla settings. FileZilla设置中的PEM密钥文件(MAC)。
  3. I'm using root password with default username 我使用默认用户名的root密码

Anything I'm missing from the doc to follow to get access through 21? 我缺少文档来遵循21的访问权限吗?

SFTP runs over an SSH session, usually on TCP port 22. In the Bitnami Stack SFTP is configured to use port 22. In the link below you will find information about how to upload files using SFTP using Bitnami Cloud Images on Google Cloud: SFTP通常在TCP端口22上通过SSH会话运行。在Bitnami Stack中,SFTP配置为使用端口22。在下面的链接中,您将找到有关如何使用Google Cloud上的Bitnami Cloud Images使用SFTP上传文件的信息:

https://docs.bitnami.com/google/faq/#how-to-upload-files-to-the-server-with-sftp https://docs.bitnami.com/google/faq/#how-to-upload-files-to-the-server-with-sftp

If you want to use SFTP on any other port, you need to open that port on your server and configure SFTP to use port 21. You can open a port on your server following the steps described in the guide below: 如果要在其他任何端口上使用SFTP,则需要在服务器上打开该端口,并将SFTP配置为使用端口21。可以按照以下指南中描述的步骤在服务器上打开端口:

https://docs.bitnami.com/google/faq/#how-to-open-the-server-ports-for-remote-access https://docs.bitnami.com/google/faq/#how-to-open-the-server-ports-for-remote-access

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM