Heron-Repositories / Heron

A python only framework for connecting hardware and closing loops
MIT License
53 stars 6 forks source link

Remove the requirement of a /$USER/.ssh/known_hosts file #12

Closed georgedimitriadis closed 5 months ago

georgedimitriadis commented 5 months ago

The SSHCom class looks for a /$USER/.ssh/known_hosts file (line 36).

Stop hardwiring this and make it a constant in the constants.py file so that users can change the folder.

Even better users should be notified if the known_hosts isn't there first time they run Heron and be asked if Heron should make it for them.

georgedimitriadis commented 5 months ago

Added a check on Heron's launch for a known_hosts file and if it is not there the user gets a window allowing them to either automatically make and empty one or choose another existing one.