Get IP+port of virtual machines started with NXC
nxc connect
conveniently opens one or more SSH sessions for the machines in a composition. In my usage of NXC with local virtual machines, I happened to want to get files back from the virtual machines. nxc connect
would not help me with this. What I could have liked is the possibility to know what are the IP and port (for SSH) of each virtual machine so that I can use scp
or other similar tools with them.
The issue is less prevalent when we deploy on Grid 5000 as we are the ones telling NXC where it should deploy the machines.