Ssh fixes

fix ssh errcode regression

try harder on keyscan/scp