Skip to content

Commit

Permalink
Merge pull request #265 from stokito/ssh-keygen
Browse files Browse the repository at this point in the history
dropbearkey: add alias to ssh-keygen
  • Loading branch information
mkj authored Dec 11, 2023
2 parents e28ba1b + 806586b commit a1cf9d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dbmulti.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ static int runprog(const char *multipath,
}
#endif
#ifdef DBMULTI_dropbearkey
if (strcmp(progname, "dropbearkey") == 0) {
if (strcmp(progname, "dropbearkey") == 0
|| strcmp(progname, "ssh-keygen") == 0) {
return dropbearkey_main(argc, argv);
}
#endif
Expand Down Expand Up @@ -88,7 +89,7 @@ int main(int argc, char ** argv) {
"'dbclient' or 'ssh' - the Dropbear client\n"
#endif
#ifdef DBMULTI_dropbearkey
"'dropbearkey' - the key generator\n"
"'dropbearkey' or 'ssh-keygen' - the key generator\n"
#endif
#ifdef DBMULTI_dropbearconvert
"'dropbearconvert' - the key converter\n"
Expand Down

0 comments on commit a1cf9d5

Please sign in to comment.