In Openssh 3.9 We have Option -h ( Basic help ) dispalyed in the SSH Usage as well as SSH man page But when we try this as "ssh -h" , we are get Message as "ssh: illegal option -- h" log given below # ssh -h ssh: illegal option -- h usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option] [-p port] [-R port:host:hostport] [-S ctl] [user@]hostname [command] To avoid this we have include the 'h' character in getopt( ) as given below In ssh.c # 242 while ((opt = getopt(ac, av, 243 "1246ab:c:e:fgi:hkl:m:no:p:qstvxACD:F:I:L:MNPR:S:TVXY")) != -1) { 244 switch (opt) {
No, the '-h' option isn't in ssh's commandline. Rather, it is in the commandline opened by ~C at runtime. Yes, this is a little confusing, but I think it would be best fixed by clarifying the manual page rather than adding another option to ssh (we already use most of the letters of the alphabet!)
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.