From 1e0e8a54939ca84c6cd20a5447059364e789b720 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 9 Oct 2009 22:28:03 +0200 Subject: [PATCH] samplessh uses ssh_options_getopt() --- examples/samplesshd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/samplesshd.c b/examples/samplesshd.c index 4c8a5bc9..e9757f20 100644 --- a/examples/samplesshd.c +++ b/examples/samplesshd.c @@ -46,6 +46,7 @@ int main(int argc, char **argv){ sshbind=ssh_bind_new(); session=ssh_new(); + ssh_options_getopt(session,&argc,argv); ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_DSAKEY, KEYS_FOLDER "ssh_host_dsa_key"); ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_RSAKEY, KEYS_FOLDER "ssh_host_rsa_key");