Hi Daniel,
That's curious, the logs indicate that everything seems to be working fine yet the connection is never stablished. I think this may indicate some permissions issue related to having either the CONN standalone or Matlab RunTime apps running on the server computer needing permission to access the network and listen to ports. I will try to replicate this scenario to see if that brings some light into this and will let you know what I can find out.
Oh, and regarding 2FA in my only-one-sample-case experience that works just fine, when connecting using ssh to a login node that initiates a request to authenticate using your second factor and if that completes without a problem the ssh connection is accepted, otherwise it is not. When using CONN to connect remotely the same process is initiated and as long as you complete the authentication process CONN connection will proceed normally. In any case, I will be happy to learn in ways that this does NOT work to try to make CONN procedure more robust, so please let me know your experience.
Best
Alfonso
Originally posted by Daniel Simon:
Hello again, Alfonso...
I've recently learned that my HPC will absolutely not allow conn remotely since the secure node requires a two-step login process. If I go that route I'll have to use ThinLinc (which I've already got working nicely).
But I'd still like to explore conn remotely with a local network. I have two ARM Macs running Conn: the local computer is running Matlab+Conn and the "server" is running a custom-built conn22v2407 standalone (using the built-in build script on R2024b).
When I try to use conn remotely, I get the following log in my Matlab command window:
>> conn remotely
Server address [local]: 192.168.1.170
Username [dansi08]:
Connecting to dansi08@192.168.1.170... ;
(dansi08@192.168.1.170) Password:
Reading configuration information from dansi08@192.168.1.170:~/connserverinfo.json to /Users/dansi08/.conn_cache/conncache_51dc18fa3d0d10e8c4ac02774e5a3637
Requesting a new Matlab session in dansi08@192.168.1.170. This may take a few minutes, please be patient as your job currently sits in a queue. CONN will resume automatically when the new Matlab session becomes available
Remote session started:
Host address = mac00771
Access port = 49781
ID = privatekey
Log folder = /Users/dansi08/.qlog/250416150100726
Establishing secure communication path to remote session (59892:mac00771:49781)
Connecting to localhost:59892...
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
Communication failure. Try again at a later time
Unable to send TCP packet (possibly unresponsive server)
Unable to connect to remote CONN session
Unable to send TCP packet (possibly unresponsive server)
Unable to send TCP packet (possibly unresponsive server)
You can see the associated .qlog folder in the attached .tgz file. Firewalls are disabled on both computers.
Can you give some advice on how to proceed?
I CAN run the full Matlab+Conn on the target/server computer, but I'd really rather not use one of my university licenses on this computer.
Thanks in advance!
Threaded View
Title | Author | Date |
---|---|---|
Daniel Simon | Apr 9, 2025 | |
Daniel Simon | Apr 16, 2025 | |
Alfonso Nieto-Castanon | Apr 16, 2025 | |
Alfonso Nieto-Castanon | Apr 12, 2025 | |
Daniel Simon | Apr 13, 2025 | |
Alfonso Nieto-Castanon | Apr 16, 2025 | |
Daniel Simon | May 4, 2025 | |