1 From 806586b585806cbe32013bcd3af3847278972060 Mon Sep 17 00:00:00 2001
2 From: Sergey Ponomarev <stokito@gmail.com>
3 Date: Sun, 10 Dec 2023 10:31:56 +0200
4 Subject: dropbearkey: add alias to ssh-keygen
6 The dropbearkey is partially compatible with ssh-keygen and can be used as an alias.
11 1 file changed, 3 insertions(+), 2 deletions(-)
15 @@ -41,7 +41,8 @@ static int runprog(const char *multipath
18 #ifdef DBMULTI_dropbearkey
19 - if (strcmp(progname, "dropbearkey") == 0) {
20 + if (strcmp(progname, "dropbearkey") == 0
21 + || strcmp(progname, "ssh-keygen") == 0) {
22 return dropbearkey_main(argc, argv);
25 @@ -88,7 +89,7 @@ int main(int argc, char ** argv) {
26 "'dbclient' or 'ssh' - the Dropbear client\n"
28 #ifdef DBMULTI_dropbearkey
29 - "'dropbearkey' - the key generator\n"
30 + "'dropbearkey' or 'ssh-keygen' - the key generator\n"
32 #ifdef DBMULTI_dropbearconvert
33 "'dropbearconvert' - the key converter\n"