вынос порта для SSH
This commit is contained in:
@@ -24,6 +24,8 @@ public class GlobalProperties extends Properties {
|
||||
@Expose
|
||||
public String ServerUserName ="testuser";
|
||||
@Expose
|
||||
public int ServerUserSHHPort = 23;
|
||||
@Expose
|
||||
public int ComponentsServerPort = 7995;
|
||||
@Expose
|
||||
public int TestingServerPort = 7998;
|
||||
|
||||
@@ -31,7 +31,7 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
|
||||
}
|
||||
@Override
|
||||
public void Connect() throws Exception {
|
||||
machine = new Machine("Ubuntu", Global.properties.ServerAddress, 23, MachineType.Server);
|
||||
machine = new Machine("Ubuntu", Global.properties.ServerAddress, Global.properties.ServerUserSHHPort, MachineType.Server);
|
||||
user = new User(Global.properties.ServerUserName, "mprit_2011", "");
|
||||
super.Connect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user