long sessionEnd = System.currentTimeMillis();
YSLOG.info("I00002", user, host, port, privateKey, sessionEnd - sessionStart);
int exitStatus;
try {
ChannelExec channel = (ChannelExec) session.openChannel("exec");
channel.setCommand(buildCommand(commandLineTokens, environmentVariables));
channel.setInputStream(new ByteArrayInputStream(new byte[0]), true);
channel.setOutputStream(output, true);
channel.setErrStream(output, true);