连接到使用FileZilla中和SFTP Amazon EC2上的文件目录 [英] Connect to Amazon EC2 file directory using Filezilla and SFTP

查看:2828
本文介绍了连接到使用FileZilla中和SFTP Amazon EC2上的文件目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个AWS EC2实例,我希望能够将文件上传到最简单,最直接的方式可能使用的FileZilla服务器目录。

I have created an AWS EC2 Instance and I want to be able to upload files to the server directory using FileZilla in the simplest and most straightforward fashion possible.

推荐答案

我创建视频教程,这只是检查。

I've created video tutorial for this just check.

连接到使用FileZilla中和SFTP,Amazon EC2的文件目录视频教程

上面的视频教程摘要:

  1. 编辑(preferences)>设置>连接> SFTP,点击添加密钥文件
  2. 在浏览到您的.pem文件的位置并选择它。
  3. 一个消息框会出现要求您的许可文件转换成PPK格式。单击,然后给文件命名并保存在某个地方。
  4. 如果新的文件显示在密钥文件的列表中,然后继续到下一个步骤。如果不是,然后单击添加密钥文件...,然后选择转换后的文件。
  5. 文件>站点管理器添加一个新的网站具有以下参数:

  1. Edit (Preferences) > Settings > Connection > SFTP, Click "Add key file"
  2. Browse to the location of your .pem file and select it.
  3. A message box will appear asking your permission to convert the file into ppk format. Click Yes, then give the file a name and store it somewhere.
  4. If the new file is shown in the list of Keyfiles, then continue to the next step. If not, then click "Add keyfile..." and select the converted file.
  5. File > Site Manager Add a new site with the following parameters:

主机:EC2实例你的公共DNS名称或服务器的公网IP​​地址

Host: Your public dns name of ec2 instance, or the public ip address of the server

协议:SFTP

登录类型:正常

用户:从文档:对于亚马逊的Linux,默认的用户名是 EC2用户即可。对于RHEL5,用户名称通常是根,但可能EC2用户对于Ubuntu的,用户名是的Ubuntu 。对于SUSE Linux,用户名是即可。否则,请与您的AMI供应商。

User: From the docs: "For Amazon Linux, the default user name is ec2-user. For RHEL5, the user name is often root but might be ec2-user. For Ubuntu, the user name is ubuntu. For SUSE Linux, the user name is root. Otherwise, check with your AMI provider."

preSS连接按钮 - 如果储蓄密码已被禁用,系统将提示您的登录类型将改为询问密码。说OK和连接时,在密码提示按确定,而无需输入密码,以继续进行对话。

Press Connect Button - If saving of passwords has been disabled, you will be prompted that the logon type will be changed to 'Ask for password'. Say 'OK' and when connecting, at the password prompt push 'OK' without entering a password to proceed past the dialog.

注意: FileZilla中自动计算出要使用的关键。你并不需要在导入上述后指定的关键。

Note: FileZilla automatically figures out which key to use. You do not need to specify the key after importing it as described above.

如果您使用Cyber​​duck的按照

If you use Cyberduck follow this.

检查后,如果您有任何权限问题。

Check this post if you have any permission issues.

这篇关于连接到使用FileZilla中和SFTP Amazon EC2上的文件目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆