Optimizing connection time for phone setup.
To reduce connection time when setting up remote workstations:
Check the following:
- The ssh executable (C:\Program Files\OpenSSH\ssh.exe) is excluded from real-time scanning by your antivirus and EDR software
- The medulla executable (C:\Program Files\Python3\medulla.exe) is excluded from real-time scanning by your antivirus and EDR
- Outgoing XMPP traffic from clients (to port 5222 on the server) and its corresponding incoming traffic are excluded from firewall packet analysis (do not forget the client machine’s firewall)
- Outgoing SSH traffic from clients (to port 22 or 2002 on the server) and its incoming counterpart are excluded from firewall packet analysis (don’t forget the client machine’s firewall)
Once the previous points have been verified, if the reverse SSH connection takes less than 30 seconds to establish, the timeout can be reduced.
This change is made in the /etc/mmc/mmc.ini.local file .
You should add a guacamole section and set the reversessh_timeout parameter (in seconds).
Example to set the timeout to 20 seconds:
[guacamole]
reversessh_timeout = 20
You must then restart the mmc-agent service:
systemctl restart mmc-agent
This setting is available in version 5.5.1 or later.