Can not ssh to Nagios instance on AWS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sudhirprannath
Posts: 2
Joined: Thu Apr 10, 2014 11:13 am
Contact:

Can not ssh to Nagios instance on AWS

Post by sudhirprannath »

I have created a new Virtual instance on AWS, but can not access through ssh Error message server refused connection
To verify the Access-Key, created anew instance and and able to ssh without any issue.

Console log for both instances are as under...

Amazon AMI did created the ssh-rsa finger prints, but Nagios AMI did not create any ssh-rsa finger prints. Its installation fail.


Amzon AMI : Console Log, it created fingerprint for rsa/ssh[/b]
Cloud-init v. 0.7.2 finished at Wed, 19 Nov 2014 19:11:42 +0000. Datasource DataSourceEc2. Up 85.91 seconds
ci-info: +Authorized keys from /home/ec2-user/.ssh/authorized_keys for user ec2-user+
ci-info: Keytype Fingerprint (md5) Options Comment
ci-info: ssh-rsa 7d:7f:10:0a:99:XXXXXXXXXXXXXXXXXXXXXXXXX- ATS-Nag
ec2:


Nagios-AMI System console Log
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-6-8.noarch.rpm
warning: ./packages/epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

Preparing... ##################################################
epel-release ##################################################
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
epel-release RPM installed OK
You do not have the required permissions to view the files attached to this post.
Sudhir K. Malik
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Can not ssh to Nagios instance on AWS

Post by sreinhardt »

We have a current bug into our developers for this. It seems that upon install epel is forcing https, but those do not respond. Mounting the drive on another instance, correcting /etc/yum.repos.d/epel.repo to use http only, then restarting with the drive correctly attached will properly get your ssh keys once the XI install finishes.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked