mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Add URL to usage text
This commit is contained in:
parent
024d268d8c
commit
9dc30fbd2a
@ -49,13 +49,12 @@ static void add_netcat(const char *str);
|
|||||||
|
|
||||||
static void printhelp() {
|
static void printhelp() {
|
||||||
|
|
||||||
fprintf(stderr, "Dropbear client v%s\n"
|
fprintf(stderr, "Dropbear SSH client v%s https://matt.ucc.asn.au/dropbear/dropbear.html\n"
|
||||||
#ifdef ENABLE_CLI_MULTIHOP
|
#ifdef ENABLE_CLI_MULTIHOP
|
||||||
"Usage: %s [options] [user@]host[/port][,[user@]host/port],...] [command]\n"
|
"Usage: %s [options] [user@]host[/port][,[user@]host/port],...] [command]\n"
|
||||||
#else
|
#else
|
||||||
"Usage: %s [options] [user@]host[/port] [command]\n"
|
"Usage: %s [options] [user@]host[/port] [command]\n"
|
||||||
#endif
|
#endif
|
||||||
"Options are:\n"
|
|
||||||
"-p <remoteport>\n"
|
"-p <remoteport>\n"
|
||||||
"-l <username>\n"
|
"-l <username>\n"
|
||||||
"-t Allocate a pty\n"
|
"-t Allocate a pty\n"
|
||||||
|
@ -66,7 +66,7 @@ int main(int argc, char ** argv) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "Dropbear multi-purpose version %s\n"
|
fprintf(stderr, "Dropbear SSH multi-purpose v%s\n"
|
||||||
"Make a symlink pointing at this binary with one of the following names:\n"
|
"Make a symlink pointing at this binary with one of the following names:\n"
|
||||||
#ifdef DBMULTI_dropbear
|
#ifdef DBMULTI_dropbear
|
||||||
"'dropbear' - the Dropbear server\n"
|
"'dropbear' - the Dropbear server\n"
|
||||||
|
@ -65,7 +65,6 @@ static void justprintpub(const char* filename);
|
|||||||
static void printhelp(char * progname) {
|
static void printhelp(char * progname) {
|
||||||
|
|
||||||
fprintf(stderr, "Usage: %s -t <type> -f <filename> [-s bits]\n"
|
fprintf(stderr, "Usage: %s -t <type> -f <filename> [-s bits]\n"
|
||||||
"Options are:\n"
|
|
||||||
"-t type Type of key to generate. One of:\n"
|
"-t type Type of key to generate. One of:\n"
|
||||||
#ifdef DROPBEAR_RSA
|
#ifdef DROPBEAR_RSA
|
||||||
" rsa\n"
|
" rsa\n"
|
||||||
|
@ -36,9 +36,8 @@ static void addportandaddress(char* spec);
|
|||||||
|
|
||||||
static void printhelp(const char * progname) {
|
static void printhelp(const char * progname) {
|
||||||
|
|
||||||
fprintf(stderr, "Dropbear sshd v%s\n"
|
fprintf(stderr, "Dropbear server v%s https://matt.ucc.asn.au/dropbear/dropbear.html\n"
|
||||||
"Usage: %s [options]\n"
|
"Usage: %s [options]\n"
|
||||||
"Options are:\n"
|
|
||||||
"-b bannerfile Display the contents of bannerfile"
|
"-b bannerfile Display the contents of bannerfile"
|
||||||
" before user login\n"
|
" before user login\n"
|
||||||
" (default: none)\n"
|
" (default: none)\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user