// Note: use TRACE-level logging here since our output may appear in retrieved log lines
String ipAddress = logSource.getInternalIP();
logger.trace("trying to connect to {} via ssh ...", ipAddress);
SSHCommand sshCommand = new SSHCommand();
sshCommand.connect(logDestination.getSSHKey(), ipAddress, 22, logSource.getUser(), logSource.getPassword(), sshSessionTimeout);
// Start with E3Appender Java log first
// Get a local copy of the logging config file to determine log-file path
String remoteLogPath = null;
File localConfigFile = File.createTempFile("java-logging", ".cfg");