1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

samplessh uses ssh_options_getopt()

This commit is contained in:
Aris Adamantiadis
2009-10-09 22:28:03 +02:00
parent 4b65aea401
commit 1e0e8a5493

View File

@ -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");