if ( null != paswd && paswd.length() > 0 )
{
cmdRunner.setDefaultPassword( paswd );
}
// Execute the connection
Response res = cmdRunner.execute( ping );
logger.debug( res.getCommandString() + " returned exit code " + res.getExitCode() );
// Initialize class variables based on the connection information
hostName = res.getConnectionHostname();
port = res.getConnectionPort();
userName = res.getConnectionUsername();