Open panacotar opened 3 days ago
I cannot get to install this. When I run make, it throws this error: What am I missing?
make
cc -Wall -o bin/ssh-honeypot src/ssh-honeypot.c -lssh -ljson-c -lpcap -lssl -lcrypto src/ssh-honeypot.c: In function ‘handle_ssh_auth’: src/ssh-honeypot.c:631:60: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] 631 | ssh_message_auth_password(message)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/ssh-honeypot.c:31: /usr/include/libssh/server.h:302:39: note: declared here 302 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ssh-honeypot.c:636:43: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] 636 | ssh_message_auth_password(message)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libssh/server.h:302:39: note: declared here 302 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg);
My env:
Linux [...] 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC [...] x86_64 x86_64 x86_64 GNU/Linux
Ahh ok, I saw in a video this warning and noticed the build still succeeded. Adding a suggestion to the documentation.
I cannot get to install this. When I run
make
, it throws this error: What am I missing?My env: