fix error on missing ssh pkey