public void GetIps(String hostName, String command, String rootPassword) { ISshCommand cmd = new RenziImpl("root", rootPassword); cmd.Download("/mnt/cdrom/peerIps.txt", hostName); string ipResults = cmd.Result; if (ipResults != null) { var ipCollection = ParseIps(ipResults); UpdateIpCollection(ipCollection); Log.DebugFormat("Got IPs! IPs are :" + Environment.NewLine + "{0}", ipResults.Trim('\n', '\r')); } }