aboutsummaryrefslogtreecommitdiff
path: root/samplesshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'samplesshd.c')
-rw-r--r--samplesshd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samplesshd.c b/samplesshd.c
index 0775a3b3..249f35df 100644
--- a/samplesshd.c
+++ b/samplesshd.c
@@ -40,6 +40,7 @@ int main(int argc, char **argv){
return 1;
}
printf("Socket connecté : %d\n",ssh_get_fd(session));
+ ssh_accept(session);
return 0;
}