diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-10-10 20:03:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 20:03:00 +0200 |
commit | 9769f25fdf3bde3775ed5a0108543dc6e89745cf (patch) | |
tree | a1e3d3df5aeff9483cae11449ac324ba914b8714 /src/conf_mode/ssh.py | |
parent | adc9af1983657589b95f8e42f83a8d02cc731402 (diff) | |
parent | b9de775a5b4f017f9d164a127d93f55ce9053756 (diff) | |
download | vyos-1x-9769f25fdf3bde3775ed5a0108543dc6e89745cf.tar.gz vyos-1x-9769f25fdf3bde3775ed5a0108543dc6e89745cf.zip |
Merge pull request #1563 from sever-sever/T4716
ssh: T4716: Ability to configure RekeyLimit data and time
Diffstat (limited to 'src/conf_mode/ssh.py')
-rwxr-xr-x | src/conf_mode/ssh.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/ssh.py b/src/conf_mode/ssh.py index 2bbd7142a..8746cc701 100755 --- a/src/conf_mode/ssh.py +++ b/src/conf_mode/ssh.py @@ -73,6 +73,9 @@ def verify(ssh): if not ssh: return None + if 'rekey' in ssh and 'data' not in ssh['rekey']: + raise ConfigError(f'Rekey data is required!') + verify_vrf(ssh) return None |