fix: gather ssh known hosts before generating public list