- Getting the IP Address of GGCS Virtual Machine
- Setting up SSH Connections
- Setting up SFTP Connections
From the GGCS management console, Clicking on the GGCS instance name will lead you to the GGCS instance detail page. You can find the Public IP of the GGCS instance on this page.
2.1 SSH Connection on Windows
On Windows, you can use PuTTY to set up the SSH connection. After setting up the session connection information, you need to go to Connection | SSH and provide the private key for the authentication. If you are behind the firewall, you can add the proxy setup as needed. The connection user is opc. The setup steps are shown as follows:
On Linux access, you can use the ssh command-line tool. The following is an example.
>ssh -i opc_rsa.txt [email protected]
chmod 400 opc_rsa.txt
[ec2-user@ip-10-184-238-104 ~]$ ssh -i opc_rsa.txt [email protected] The authenticity of host '129.144.2.34 (129.144.2.34)' can't be established. RSA key fingerprint is 34:cc:f6:50:5e:dd:d5:31:35:bd:a1:81:88:fa:21:d6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '129.144.2.34' (RSA) to the list of known hosts. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0664 for 'opc_rsa.txt' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: opc_rsa.txt Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
3.1 SFTP Connection on Windows
SFTP access is useful when you'd like to backup files or install new software to GGCS virtual machine. To setup SFTP, you need to provide GGCS's public IP address along with the private key for authentication. An example connection is shown as follows:
>sftp -i /home/ec2-user/opc_ggcs.sshkey [email protected] Connected to 129.145.2.34.
> sftp -i AWS-GG-Hub.pem [email protected] Connected to 52.201.221.72. sftp> put jinyu_opc Uploading jinyu_opc to /home/ec2-user/jinyu_opc jinyu_opc 100% 1766 1.7KB/s 00:00 sftp> ls gg jinyu_opc oracle11 oracle12 sftp> exit