Most users feel difficulty to setup FTP/SFTP client like FileZilla to transfer files on HP Helion Public Cloud. Here is guide on HP Cloud FTP setup. We will soon deliver optimized IaaS platform to use your common web softwares on multiple OpenStack based Cloud Computing Platform. In case you are client of Alpha, Beta or Stable platform, you need not to setup them (hence you need not to follow the HP Cloud FTP/SFTP Setup : Router, Subnet and Security Group Settings subheader), they are ready to be used for SFTP. Our system engineers will send you a setup file for FileZilla. You can be running Nginx or Apache2. You might not be running vsftpd
.
HP Cloud FTP/SFTP Setup : Router, Subnet and Security Group Settings
You must clarify the Router and Subnet Settings from our previous article.
In short, you must add both Ingress and Egress on port 22 on Security Group (group user name, not CIDR). It should look like this :
---
1 2 3 | IngressIPv4TCP22 (SSH)default IngressIPv4TCP22 (SSH)0.0.0.0/0 (CIDR) EgressIPv4TCP22 (SSH)default |
You must be aware about the difference between SSH and FTP. We are using SFTP, not FTP. Often FTP and SFTP are interchangeably used.
For security reasons, you can enable/disable the ruleset when you are really not using SSH and/or SFTP. Settings here will override Operating System level settings. Do not argue why Ingress
and Egress
both are set. They are needed for practical usage. You can delete rules later.
HP Cloud FTP/SFTP Setup
For various reasons, use FileZilla. You have a .pem
key to SSH to your instance, right? SSH to the instance to make sure that at least you can use the ingress
on port 22. Open FileZilla. On FileZilla Menu, go to :
1 2 3 4 5 | FileZilla > Settings > click select 'SFTP' Click 'Add key file' # this is for OS X # windowzzzz can have different looking options # see the screenshot |
Browse to the location of your .pem
file and select it. FileZilla will seek your permission to convert the file into .ppk
format. Accept it, then give the file a name (does not matter what name) and store it somewhere, then continue to the next step. We added the main thing to get authorized.
Now, we need to add the instance to FSTP. Basically, most of us never do this, we type the IP, type port as 22, type root as username, type password and then connect. That is a secured way as FileZilla saves password on Micro(&)Soft Windowzzz in plain text format. Do not think that, .ppk
file add a huge security on Windozzz. Windozzz is ported OpenVMS. Use any UNIX or unix like OS. You can use HP-UX (to make HP happy), OS X, anything which is unix.
Optional advanced secured settings : As Apple can also steal data, you can change the ownership of the file to none with no set chmod value. You should, technically do the same for Ubuntu Desktop. You will only make it usable when you use SFTP.
Next step is the last step. Go to :
1 | File > Site Manager |
Add a new site with the following parameters:
1 2 3 4 5 6 7 8 9 | Host : Your public IP address of the instance Protocol: SFTP Port : 22 # set custom port if you are an advanced user Logon Type: Normal User: For Ubuntu, the user name is ubuntu. For Debian Linux, the user name is debian. Otherwise, root. Practically this is what you use to SSH. Password: Remove all dot stuffs - no password, blank Account: Blank Comments : Write some poetry like "Twinkle Twinkle Little HP Cloud Instance" |
Save it First! You will not be doing it hundred times.
Later, launch a new Tab (which is Command + T on Mac), click Site Manager (which is Command + S on Mac), press the Connect button – you’ll be at /root
as if someone ran sudo su && cd /root
command.