IBM Support

Support's Guide to the EXEC Probe

Question & Answer


Question

How do you configure the EXEC probe for SSH?

Answer

It is possible to create a custom script that uses SSH'es silent login, using encrypted keys.
Copy the user's public key to the authorized_keys file in the remote users .ssh's directory.
To create the public key run the ssh-keygen command.
Remember to not add a passphrase.
Copy the entry in in the users .ssh directory [~/.ssh/id_rsa.pub] to the remote users authorized_keys file in their .ssh directory [~/.ssh].
Example script:
#! /bin/sh
# Script : run_some_command.sh
#
# To prevent password prompt copy user's public key to the authorized_keys file
# in the remote users .ssh's directory.
# To create the public key run ssh-keygen
# Do not use a passphrase
# Copy the entry in ~/.ssh/id_rsa.pub to the remote users authorized_keys file in ~/.ssh
#
/bin/ssh nrv81@server.ibm.com /opt/nrv81/IBM/tivoli/netcool/omnibus/utils/some_command.sh
#EOF

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"ARM Category":[{"code":"a8m500000008ZwJAAU","label":"Probes->1 Individual Probes->Exec nco_p_exec"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
19 May 2021

UID

ibm16334277