summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ssh.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-03-20 18:41:24 +0200
committerViacheslav Hletenko <v.gletenko@vyos.io>2026-03-24 17:02:56 +0000
commitbb2aee1e58c1cd30087b935798060e6bf3c698c8 (patch)
tree99f692623ad596519ff26da443f62415cc3bcf59 /src/conf_mode/service_ssh.py
parenta9a75eb7dce077bceee1ae13dc943b05d8759925 (diff)
downloadvyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.tar.gz
vyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.zip
T8410: Fix typos and mistakes for operational and configuration commands
Fix typos and mistakes in the commands and comments No functional changes
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}')