public static void setInstance(SshSessionFactory newFactory) {if (newFactory != null) {INSTANCE = newFactory;} else {INSTANCE = loadSshSessionFactory();}}
public static void SetInstance(SshSessionFactory newFactory){if (newFactory != null){INSTANCE = newFactory;}else{INSTANCE = new DefaultSshSessionFactory();}}