added code to manage ssh keys
cosmetic fixes
multiple fixes