added ssh private key handling