Authored by zhangmingm

修改getSSH方法。

... ... @@ -164,6 +164,7 @@ public class CollLinuxHost implements CollLinuxHostMBean {
}
String hostName=params.get("HOSTNAME")+"";
String username=params.get("USERNAME")+"";
String protocol=params.get("PROTOCOL")+"";
String password=params.get("PASSWORD")+"";
password=DES3.decrypt(password);
... ... @@ -174,6 +175,7 @@ public class CollLinuxHost implements CollLinuxHostMBean {
bean.setPROTOCOL_PORT(port);
bean.setUSER_NAME(username);
bean.setPASSWORD(password);
bean.setPROTOCOL(protocol);
String state=server.getConnectionState4SshOrTelnet(bean);
TblATO_KPIDETAIL kpidetail=new TblATO_KPIDETAIL();
... ...