added error handling on private key stat in case it is saved in agent
but not in filesystem
Merge pull request #9509 from bcoca/no_ssh_fail_missing_keyfile

added error handling on private key stat in case it is saved in agent