ssh bugfixin