1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

last win32 changes from keisial

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@152 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Aris Adamantiadis
2008-03-12 19:42:40 +00:00
parent feb4a93247
commit ebbca06b04
3 changed files with 3 additions and 4 deletions

View File

@@ -49,8 +49,8 @@ int main(int argc, char **argv){
int sftp=0;
int i;
ssh_options_getopt(options,&argc,argv);
ssh_options_set_dsa_server_key(options,"/etc/ssh/ssh_host_dsa_key");
ssh_options_set_rsa_server_key(options,"/etc/ssh/ssh_host_rsa_key");
ssh_options_set_dsa_server_key(options, KEYS_FOLDER "ssh_host_dsa_key");
ssh_options_set_rsa_server_key(options, KEYS_FOLDER "ssh_host_rsa_key");
ssh_bind=ssh_bind_new();
ssh_bind_set_options(ssh_bind,options);
if(ssh_bind_listen(ssh_bind)<0){