Bug 1049044 - Restore setting ssh config settings for gear

* Setting the file permissions was incorrectly removed
* https://bugzilla.redhat.com/show_bug.cgi?id=1049044#c8
Bug 1049044 - Create more of .openshift_ssh environment
Merge pull request #4581 from jwhonce/wip/head_key_flag

Merged by openshift-bot