diff --git a/docs/source/index.rst b/docs/source/index.rst
index 5d9e5bff6351b31301c8c17dc8b91ee601efbd76..64a28eca3daa9f95b2b1d23d334e386bb9d25021 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -22,7 +22,7 @@ The following example indicates the schema for the configuration file required t
                   "hostname":"localhost",
                   "dbname":"mydb"
          },
-         "router":{
+         "ssh":{
                   "username":"user",
                   "password":"pass",
                   "private-key":"/path/to/private/key"
@@ -30,7 +30,7 @@ The following example indicates the schema for the configuration file required t
          }
    }
 
-All "mysql" parameters are mandatory. For "router", username is mandatory, and either password or private-key must be provided. ssh-config is optional.
+All "mysql" parameters are mandatory. For "ssh", username is mandatory, and either password or private-key must be provided. ssh-config is optional.
 
 Excuting the client
 ---------------------
diff --git a/resource_management/config.py b/resource_management/config.py
index 9df14f8fdb9ff3552a732b510f36161475f9f5db..f60f960360121dd29dc3859cc70751b66ddc988f 100644
--- a/resource_management/config.py
+++ b/resource_management/config.py
@@ -24,7 +24,7 @@ CONFIG_SCHEMA = {
                 'private-key': {'type': 'string'},
                 'ssh-config': {'type': 'string'}
             },
-            'oneOf': [
+            'anyOf': [
                 {
                     'required': ['username', 'password']
                 },