protected Sftp buildSftp() throws CloudException {
return buildSftp(getImageTmpdir());
}
protected Sftp buildSftp(RemoteFile tempDir) throws CloudException {
SftpChannel sftpChannel;
try {
sftpChannel = sshConfig.getSftpChannel();
} catch (IOException e) {
throw new CloudException("Error connecting to host", e);
}