[ssh] Fixes typo: public_key uses public_key instead of private_key