nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

flight user ssh login #203

Open nthallen opened 8 months ago

nthallen commented 8 months ago

I chose to explicitly ssh flight@$FlightNode in doit scripts in order to view the log file. Perhaps there is no reason to do that. I think I should embrace the use of .ssh/config and require users to ensure that they can ssh $FlightNode.

Note that in the case where the instrument and GSE are operating without access to DNS, FlightNode must be specified as an IP address rather than a hostname. This is true even if the IP address is associated with the hostname in .ssh/config. Alternately, the IP/hostname mapping can be specified in /etc/hosts (or C:\Windows\System32\drivers\etc\hosts).

If doit is really the only place where I am using ssh flight@$FlightNode, then perhaps I can simply disable ssh login as user flight, which will save that step in the user setup process.