a port of Tamir Gals SSH Client