35363738394041
try { sftpChannel = sshConfig.getSftpChannel(); } catch (IOException e) { throw new CloudException("Error connecting to host", e); } return new Sftp(sftpChannel, tempDir); }
199200201202203204205
23242526272829
private final SshConfig sshConfig; private Sftp buildSftp() throws IOException { SftpChannel sftp = sshConfig.getSftpChannel(); return new Sftp(sftp, null); }
21222324252627
private final RemoteFile tmpDir; private Sftp buildSftp() throws IOException { SftpChannel sftp = sshConfig.getSftpChannel(); return new Sftp(sftp, tmpDir); }
96979899100101102
} } protected Sftp buildSftp() throws IOException { SftpChannel sftp = sshConfig.getSftpChannel(); return new Sftp(sftp, tmpDir); }