diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-09 22:28:03 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-09 22:28:03 +0200 |
commit | 1e0e8a54939ca84c6cd20a5447059364e789b720 (patch) | |
tree | 689aee381a3ca2db47f76535567f5f9b84b33f30 | |
parent | 4b65aea401d8c6413384184143fa9147bad71060 (diff) | |
download | libssh-1e0e8a54939ca84c6cd20a5447059364e789b720.tar.gz libssh-1e0e8a54939ca84c6cd20a5447059364e789b720.tar.xz libssh-1e0e8a54939ca84c6cd20a5447059364e789b720.zip |
samplessh uses ssh_options_getopt()
-rw-r--r-- | examples/samplesshd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c index 4c8a5bc..e9757f2 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"); |