summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/service_ssh.py')
-rwxr-xr-xsrc/conf_mode/service_ssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_ssh.py b/src/conf_mode/service_ssh.py
index d67c1fa3f..15d9d37ba 100755
--- a/src/conf_mode/service_ssh.py
+++ b/src/conf_mode/service_ssh.py
@@ -74,7 +74,7 @@ def get_config(config=None):
ssh.update({'restart_required': {}})
# We have gathered the dict representation of the CLI, but there are default
- # options which we need to update into the dictionary retrived.
+ # options which we need to update into the dictionary retrieved.
ssh = conf.merge_defaults(ssh, recursive=True)
# Ignore default XML values if config doesn't exists
@@ -127,7 +127,7 @@ def generate(ssh):
return None
# This usually happens only once on a fresh system, SSH keys need to be
- # freshly generted, one per every system!
+ # freshly generated, one per every system!
if not os.path.isfile(key_rsa):
syslog(LOG_INFO, 'SSH RSA host key not found, generating new key!')
call(f'ssh-keygen -q -N "" -t rsa -f {key_rsa}')