summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate-ssh-server-key.xml.in
AgeCommit message (Collapse)Author
2021-05-18revert: "util: T2467: add autosudo as an option to command"Christian Poessinger
Implementing a wrapper which will - based on the command - add a sudo prefix to the execution string seemed to be a nice idea but unfortunately it did not only not get momentum but also the codebase somethis added an implicit "sudo" call a second time. This resulted in a call: "sudo sudo systemctl" The entire functionality was removed again and if an op-mode script requires root priviledges it must be explicitly called with them - no black magic.
2021-01-29op-mode: ssh: support generating client keypairChristian Poessinger
vyos@vyos:~$ generate ssh client-key /config/auth/id_rsa_rpki Generating public/private rsa key pair. Your identification has been saved in /config/auth/id_rsa_rpki. Your public key has been saved in /config/auth/id_rsa_rpki.pub. The key fingerprint is: SHA256:aBMN1F6lINh4CbG/fuEVReCpbZr3U0/KdorWY6iGfvw vyos@vyos The key's randomart image is: +---[RSA 2048]----+ | oB+o. .+o | | o.++.o.o. | | ......+. | | . o.o. | | = S o. | | . o.+. . .| | ..o=. = + | | . +.+.+.B o| | .o.o.+E+.+ | +----[SHA256]-----+
2021-01-10xml: op-mode: add preprocessor support as known from configuration modeChristian Poessinger