help > RE: Multiple Conn remote connection issues
Mar 2, 2026  03:03 PM | Joshua Neal - Virginia Tech
RE: Multiple Conn remote connection issues

HI Alfonso,


In regards to the Ubuntu Cluster, In was able to talk to my PI about the configuration. For the cluster, there is a first password for the cluster itself, which is the one I enter for the Conn and Matlab interface. His explanation is that the second password is needed for a Kerberos system to connect to the accompanying NAS storage. This is the process that requires a second, department-level password. I am able to enter that second password in a terminal SSH session, but cannot through the Matlab and Conn interfaces to date.

Regarding the Windows PC connection, I tested utilizing the scp prompt you gave me, and recieved the following:


(base) ➜  ~ scp jnnea@100.74.53.80: ~/connserverinfo.json


jnnea@100.74.53.80's password: 


scp: download ./: not a regular file

Let me know what thoughts you might have to troubleshoot these connections further.


Thanks again,


Josh




Originally posted by Alfonso Nieto-Castanon:



Hi Josh,


Regarding the Ubuntu cluster connection, from your description it seems likely that the system is getting stucked in that "second password" procedure. Can you please provide more details (or point me to your cluster documentation) about how this double-password system works? (e.g. in BU, for example, we have a two-factor authentication procedure in place, but that seems to work fine when using CONN to connect remotely -you would simply get that same prompt requesting to choose a 2FA method in the Matlab command-window when connecting remotely and after answering that prompt everything continuous normally). 


And regarding connecting to your Windows PC, the "reading configuration information" step is trying (and failing) to use scp to download that configuration file from your Windows machine. Can you check from a terminal window on your Mac computer the command:


scp jnnea@100.74.53.80:~/connserverinfo.json .


and see whether that works fine? (one possibility would be that the Windows PC might have a ssh but not scp server active?)


Hope this helps


Alfonso


 


Originally posted by Joshua Neal:



Hello,


I'm reaching out because I have a M1 Macbook Air running Matlab R2024b and CONN toolbox 22.v2407. I have been attempting to use it as the client computer for either of two different computers - an Ubuntu Cluster, and a personal Windows PC. 


For the Ubuntu cluster, the remote connection works up to the "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" prompt. When I manually ssh into this cluster, I have to enter two separate passwords - first a general password, then a university account specific password. For the Conn remote connection I have been entering the first password, but am not given a prompt to enter a second. Is there a configuration option on my end that I could utilize to get both passwords entered and fulfill the connection?


For the Windows PC, I simply get the following error when attempting the remote login: 
"Reading configuration information from jnnea@100.74.53.80:~/connserverinfo.json to /Users/joshneal/.conn_cache/conncache_27de0c9542e2f7f30a24833d879248a1


Unable to find CONN distribution in jnnea@100.74.53.80.


If this is your first time connecting to 100.74.53.80, please use the following steps to confirm that CONN is available there and then try connecting again:


   1. Log in to 100.74.53.80 as user jnnea


   2. Launch Matlab


   3. From Matlab command-window type "conn remotely setup" (without quotes) and confirm that the file ~/connserverinfo.json is created


   4. Log out from 100.74.53.80


(see "in the server computer" section at https://web.conn-toolbox.org/resources/r... for details)


 


Try connecting again to jnnea@100.74.53.80? (yes|no) :"


This has occurred multiple times, in spite of generating the connserverinfo.json file repeatedly, inlcuding through ssh connection from the Mac to PC. Is there a compatability issue with Windows as the CONN server, or is there another troubleshooting process I can try here?

Appreciate any help with either or both connections.


Thanks,


Josh



 



 

Threaded View

TitleAuthorDate
Joshua Neal Feb 17, 2026
Alfonso Nieto-Castanon Feb 23, 2026
RE: Multiple Conn remote connection issues
Joshua Neal Mar 2, 2026