SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
String server = prefs.getString("server", "").trim();
String userName = prefs.getString("userName", "").trim();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
String server = prefs.getString("server", "").trim();
String userName = prefs.getString("userName", "").trim();
Log.d("dbg", userName + "@" + server + ":" + port);
Session s = jsch.getSession(userName, server, port);
s.setUserInfo(this);
Log.d("dbg", userName + "@" + server + ":" + port);
Session s = jsch.getSession(userName, server, port);
s.setUserInfo(this);