working on ssh protocol