By: Florian Pühs user 13 Jul 2018 at 3:33 a.m. CDT

2 Responses
Florian Pühs gravatar
Hello! I am trying to set up a Gluu Server on AWS, using an ELB with 3 EC2 instances (1x ClusterManager, 1 Master Node and (at least) 1 Replication Node) - plus a Bastion Host for SSH login, since all EC2 Instances are in a private subnet and only the ELB has access to the internet. For outbound internet access of the EC2 instances (i.e. security updates etc.) I am using NAT Gateway. SSH connection to all the EC2 instances via the Bastion is working as well. While installation of the cluster manager I followed this guide: https://gluu.org/docs/cm/ After installing the cluster manager packages and opening all the needed ports I am connecting to the GUI of the CM via an SSH Tunnel using the following command: ssh -i "/path/to/my/key.pem" -L 5000:localhost:5000 ubuntu@172.31.1.199 ssh -i "~/.ssh/mykey.pem" -L 5000:localhost:5000 -N ubuntu@172.31.1.182 This is a SSH Tunnel to the Bastion Host (172.31.1.199) and then to the Cluster Manager (172.31.1.182). Connection works, I can open the GUI of the Clustermanager with localhost:5000. But when I am following the Installation Wizard, at some point the CM is prompting me with the following error message (at Dashboard): _SSH connection to ClusterManager failed. Please check if your pub key is asdded to /root/.ssh/authorized_keys on this server. Reason: No authentication methods available _ SSH Keys has been placed at all the servers (for testing purposes) and has been added to the authorized_keys. Any help with this issue is much appreciated. Kind Regards, Flo

By Chris Blanton user 13 Jul 2018 at 11:27 a.m. CDT

Chris Blanton gravatar
Hey Florian, Cluster Manager needs root access to the servers it's trying to access. From the machine and user you have Cluster Manager running, can you ssh into the server you're trying to access as root?

By Florian Pühs user 17 Jul 2018 at 8:24 a.m. CDT

Florian Pühs gravatar
Hey Chris, thank you for your answer. Added the pub key to root (not ubuntu) - ssh connection works as expected.