вынос порта для SSH

This commit is contained in:
2024-02-19 18:01:17 +03:00
parent a138f367a8
commit 11f82d2bb9
3 changed files with 5 additions and 2 deletions

View File

@@ -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();
}