fixed ssh fix, bad test case but it should work now
Merge pull request #9510 from bcoca/ssh_agent_wo_keyfile

fixed ssh fix, bad test case but it should work now