*/
public Connection getBaseAuthentication() throws Exception {
try { // to connect and authenticate
boolean isAuthenticated = false;
this.setSshConnection(new Connection(this.getHost(), this.getPort()));
if (this.getProxyHost() != null && this.getProxyHost().length() > 0) {
if (this.getProxyUser() != null && this.getProxyUser().length() > 0) {
this.getSshConnection().setProxyData(new HTTPProxyData(this.getProxyHost(), this.getProxyPort()));
} else {