Skip to content

FTP 凭据(FTP credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

先决条件(Prerequisites)#

在文件传输协议 (FTP) 服务器上创建一个账户,如 JSCAPEOpenSSHFileZilla Server

🌐 Create an account on a File Transfer Protocol (FTP) server like JSCAPE, OpenSSH, or FileZilla Server.

支持的身份验证方法(Supported authentication methods)#

  • FTP 账户:如果你的 FTP 服务器不支持 SSH 隧道或加密连接,请使用此方法。
  • SFTP 账户:如果你的 FTP 服务器支持 SSH 隧道和加密连接,请使用此方法。

文件传输协议 (FTP) 和安全外壳文件传输协议 (SFTP) 是用于在 FTP/SFTP 客户端和服务器之间直接传输文件的协议。

🌐 File Transfer Protocol (FTP) and Secure Shell File Transfer Protocol (SFTP) are protocols for transferring files directly between an FTP/SFTP client and server.

使用 FTP 账户(Using FTP account)#

如果你的 FTP 服务器不支持 SSH 隧道或加密连接,请使用此方法。

🌐 Use this method if your FTP server doesn't support SSH tunneling or encrypted connections.

要配置此凭据,你需要:

🌐 To configure this credential, you'll need to:

  1. 输入你的 FTP 服务器 主机 的名称或 IP 地址。
  2. 输入连接应使用的端口号。
  3. 输入凭证应连接的用户名
  4. 请输入用户的密码

查阅你的 FTP 服务器提供商的文档,以获取获取所需信息的说明。

🌐 Review your FTP server provider's documentation for instructions on getting the information you need.

使用 SFTP 账户(Using SFTP account)#

如果你的 FTP 服务器支持 SSH 隧道和加密连接,请使用此方法。

🌐 Use this method if your FTP server supports SSH tunneling and encrypted connections.

要配置此凭据,你需要:

🌐 To configure this credential, you'll need to:

  1. 输入你的 FTP 服务器 主机 的名称或 IP 地址。
  2. 输入连接应使用的端口号。
  3. 输入凭证应连接的用户名
  4. 请输入用户的密码
  5. 对于私钥,请输入用于基于密钥或基于主机的用户身份验证的字符串
    • 以 OpenSSH 格式输入你的私钥。它通常使用 ssh-keygen 的 -o 参数生成,例如:ssh-keygen -o -a 100 -t ed25519
  6. 如果私钥被加密,请输入用于解密的口令
    • 如果 私钥 没有使用密码短语,请将此字段留空。

查阅你的 FTP 服务器提供商的文档,以获取获取所需信息的说明。

🌐 Review your FTP server provider's documentation for instructions on getting the information you need.