Fix error in ssh key test

The ssh key test was using a test for shell variable rather than file
The updated test appears to remedy this failure.
Merge pull request #1 from robertstarmer/master

Resolve bug 1118952, failure to deal with ssh keys