sshd doesn't accept -c option

Ludek Hlavacek ludek.h at gmail.com
Thu Mar 3 10:57:19 EST 2011


Hi,
I was testing host key signing when I came across problem with adding
certificates using command line.

Running

/usr/sbin/sshd -c certfile

returns

sshd: illegal option -- c
OpenSSH_5.8p1-hpn13v10, OpenSSL 1.0.0d 8 Feb 2011
usage: sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-c host_cert_file]
            [-f config_file] [-g login_grace_time] [-h host_key_file]
            [-k key_gen_time] [-o option] [-p port] [-u len]


In cvs log I found, that certificate support was introduced to sshd.c
in revision 1.373 but the optstring argument of getopt function was not
changed accordingly.

--
L.H.


More information about the openssh-unix-dev mailing list