working on ssh stuff and logs