Page 1 of 1
nagios xi appliance has no ssh, sftp, or scp commands presen
Posted: Tue Oct 01, 2013 11:13 pm
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.
Re: nagios xi appliance has no ssh, sftp, or scp commands pr
Posted: Wed Oct 02, 2013 12:00 am
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?
Re: nagios xi appliance has no ssh, sftp, or scp commands pr
Posted: Wed Oct 02, 2013 9:54 am
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.
Re: nagios xi appliance has no ssh, sftp, or scp commands pr
Posted: Wed Oct 02, 2013 10:57 am
by scottwilkerson
Will add what you are looking for.
Re: nagios xi appliance has no ssh, sftp, or scp commands pr
Posted: Wed Oct 02, 2013 11:13 am
by lmiltchev
What is the Nagios XI version that you are currently using? What is the output of the following commands?
Re: nagios xi appliance has no ssh, sftp, or scp commands pr
Posted: Sat Oct 05, 2013 9:50 am
by a45634
The "yum install openssh-clients -y" solved the issue. The commands are now present and functioning.
Thanks for the help.