Configuration format change + connection support

The configuration file supports now the definition of more elaborate
ssh connection methods and authentication mechanisms. The documentation
in doc/config.md provides details.