Previous Topic: restart (Component Control)--Restart a ComponentNext Topic: login (Application Control and Management)--Login to a Component


ssh (Component Control)--Access the Shell in a Component's Virtual Machine (over ssh)

Ssh into a component's virtual machine

Syntax
[component] ssh name [command] 
Parameters
name

Name of component to ssh into

command

Optional command to execute on the appliance.

Examples
component ssh sugarcrm:main.config

SSH into component 'main.config' in application 'sugarcrm'

component ssh sugarcrm:main.config --ssh "ls /tmp"

SSH into component 'main.config' in application 'sugarcrm' and execute ls /tmp

Note: This command will fail if the component is not running.

This command is identical to executing comp login name

The ssh login is performed using a special appliances ssh key installed on your grid. This key does not need a passphrase -- it is assumed that if you are logged in on the controller, you are authorized to log in on the appliances. Contact Technical Support if you cannot log in on an appliance or if you believe your appliance key has been compromised and want to have it replaced.

Whenever a user logs into an appliance, CA AppLogic for System z® creates an environment variable named _APPLOGIC_USERID which contains the name of the user that logged into the appliance. This is only valid if the appliance uses the dhcp configuration mode (APK).