aboutsummaryrefslogtreecommitdiff
path: root/samplesshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'samplesshd.c')
-rw-r--r--samplesshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplesshd.c b/samplesshd.c
index f4f0bc12..c6088d0b 100644
--- a/samplesshd.c
+++ b/samplesshd.c
@@ -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){