*/
protected Connection getBaseAuthentication() throws Exception {
try { // to connect and authenticate
boolean isAuthenticated = false;
this.setSshConnection(new Connection(this.host, this.port));
if (proxyHost != null && this.proxyHost.length() > 0) {
if (this.proxyUser != null && this.proxyUser.length() > 0) {
this.getSshConnection().setProxyData(new HTTPProxyData(this.proxyHost, this.proxyPort));
}