String host = ArduinoHelpers.getHostFromComPort(MComPort);
if (host != null) {
myHighLevelConsoleStream.println("using ssh loader");
PasswordManager pwdManager = new PasswordManager();
if (!pwdManager.setHost(host)) {
Common.log(new Status(IStatus.ERROR, ArduinoConst.CORE_PLUGIN_ID, "No credentials to logon to " + host));
}
String password = pwdManager.getPassword();
String login = pwdManager.getLogin();
realUploader = new SSHUpload(myHighLevelConsoleStream, myOutconsoleStream, myErrconsoleStream, password, host, login);
uploadJobName = ArduinoConst.Upload_ssh;
} else if (UpLoadTool.equalsIgnoreCase(ArduinoConst.UploadToolTeensy)) {
myHighLevelConsoleStream.println("using generic local uploader");