[Bug 22345] AGTerminalV2 fails to connect remote server.