Set hostname from the [alm][hostname] setting; Upgrade openssh

This helps with the networking code, so that requests use the loopback interface properly. Especially on AWS, couchdb references that go via the external interface will fail unless couchdb external access is public also, because of the firewall.

Opportunity taken to ensure openssh is up to date as well as openssl.