Setting up SSH , FTP and Opening Ports on Oracle Cloud PaaS and IaaS

SSH Access

if you have created Virtual Machine Using Bitnami , then SSH access is fairly easy, Access VM image at Bitnami download Public Key .pem and Private Key File.ppk file into local drive , change the file permissions to chmod 700 and run the following SSH command

chmod 700 bitnami-opc-DomainName.pem
ssh -i bitnami-opc-DomainName.pem [email protected]

If you plan to use Putty then ensure that Private Key File .ppk file is selected

bitnami-opc-a457995.pem  bitnami-opc-a457995.ppk  notes.txt  
'wp-config - Copy.php' wp-config.php D:\Bitnami\BitnamiWordpress>ssh -i bitnami-opc-a457995.pem
[email protected] Last login: Sun Jul 16 13:56:45 2017 from .. ___ _ _ _ | _ |_) |_ _ _ __ _ _ __ (_) | _ \ | _| ' \/ _` | ' \| | |___/_|\__|_|_|\__,_|_|_|_|_| *** Welcome to the Bitnami WordPress Multisite 4.7.5-1 *** *** Documentation:*** *** *** *** Bitnami Forums: *** [[email protected] ~]$ ls apps htdocs stack [[email protected] ~]$

FTP Access

If you wish to FTP to Oracle Cloud you can use WinSCP or FileZilla , if you are using FileZilla select Secure FTP , if you are using WInSCP , you would need to give valid IP address and Private Key File PPK by selecting Advanced Tab

Usually username will be “bitnami” if the image is created from Bitnami website , if you creating your own VM or Getting it up from Oracle Market Place then you would need to read corresponding documentation

Opening  PORTS on a Hosted Instance on Oracle PaaS Services

if you are using PaaS Services like Java Cloud Service or Database Cloud Service , you would need to open ports before they can be accessed outside , so login to console and then select Access Rules

Enable or Disable Port


Opening  PORTS on a Hosted Instance on Oracle IaaS Services

Login to Compute Console and View Details of Hosted Virtual Machine , if a security list is already created make note of its name or create a new security list

Click on Network Tab and Shared Network, Create new security Application you can define range of ports to be opened example 4000 to 4010,

Type can be TCP, UDP, ICMP, GRE, Others can be of type ssh, https, mail, ldap, nfs, rdp, smtp etc

Then create Security Rule

Select Security IP list Option in that select Public-Internet , In the destination ensure that we are giving same name as that was added in Security List, In the Security Application select the one that we just created above.

That should open port 4000 to 4010 for selected Compute Machine


Madhusudhan Rao