diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:38:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:38:15 +0200 |
commit | 40c5d90f61604f34df849f156656390ff3bf75d4 (patch) | |
tree | 92d2c45b703b5fb1e7376a1f1c2cc5cbc5bf2945 | |
parent | 2e9039f9e36284fcfa7ad3fbd32290fc3f78e91f (diff) | |
download | vyatta-op-40c5d90f61604f34df849f156656390ff3bf75d4.tar.gz vyatta-op-40c5d90f61604f34df849f156656390ff3bf75d4.zip |
(cherry picked from commit ac4292154ee3cbb165a75c8373d0b559c4027b51)
-rw-r--r-- | scripts/vyos-strip-config.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyos-strip-config.pl b/scripts/vyos-strip-config.pl index 9903f77..2a4c953 100644 --- a/scripts/vyos-strip-config.pl +++ b/scripts/vyos-strip-config.pl @@ -128,6 +128,7 @@ if ($stdin) { # Strip passwords $input =~ s/password \S+/password xxxxxx/g if !($keepPasswords); +$input =~ s/cisco-authentication \S+/cisco-authentication xxxxxx/g if !($keepPasswords); # Strip public key information $input =~ s/public-keys \S+/public-keys xxxx\@xxx.xxx/g if !($keepKeys); |