nagios xi appliance has no ssh, sftp, or scp commands presen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
a45634
Posts: 7
Joined: Tue Oct 01, 2013 10:30 pm

nagios xi appliance has no ssh, sftp, or scp commands presen

Post by a45634 »

I am working on a proof of concept and wanted to try some remote command execution but found that there is no ssh, sftp, or scp command available on the Nagios XI appliance download. The appliance is working correctly for everything I have tested so far except for these missing files. Is this intentional? Can the files simply be copied in place from another Linux server or do I need to reinstall the open SSH? I can ssh to the system so SSH appears to be installed and working.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios xi appliance has no ssh, sftp, or scp commands pr

Post by tmcdonald »

Now when you say there is no command, do you mean no nagios check command, or no command as in the actual program?
Former Nagios employee
a45634
Posts: 7
Joined: Tue Oct 01, 2013 10:30 pm

Re: nagios xi appliance has no ssh, sftp, or scp commands pr

Post by a45634 »

While logged in to the Nagios XI appliance as root at the bash prompt if you type ssh, sftp, or scp you get no command found. Files with the names ssh, sftp, and scp should be present in /usr/bin but they are not. Openssh must be installed because I connect from my workstation to the Nagios XI appliance via ssh and I am able to sftp files to it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios xi appliance has no ssh, sftp, or scp commands pr

Post by scottwilkerson »

Code: Select all

yum install openssh-clients -y 
Will add what you are looking for.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi appliance has no ssh, sftp, or scp commands pr

Post by lmiltchev »

What is the Nagios XI version that you are currently using? What is the output of the following commands?

Code: Select all

which ssh
which sftp
which scp
Be sure to check out our Knowledgebase for helpful articles and solutions!
a45634
Posts: 7
Joined: Tue Oct 01, 2013 10:30 pm

Re: nagios xi appliance has no ssh, sftp, or scp commands pr

Post by a45634 »

The "yum install openssh-clients -y" solved the issue. The commands are now present and functioning.

Thanks for the help.
Locked