Closed s0i37 closed 3 years ago
-r
option is required. Check the readme file.
Same thing is happening to me.
root@ubuntu:~/tools/ssh-honeypot# ls -la ssh-honeypot.* -rw------- 1 root root 2655 Sep 29 17:58 ssh-honeypot.rsa -rw-r--r-- 1 root root 565 Sep 29 17:58 ssh-honeypot.rsa.pub
root@ubuntu:~/tools/ssh-honeypot# bin/ssh-honeypot -r ./ssh-honeypot.rsa -p 22 -v
[Tue Sep 29 18:09:41 2020] ssh-honeypot 0.1.0 by Daniel Roberson started on port 22. PID 295712
[Tue Sep 29 18:09:41 2020] FATAL: ssh_bind_listen():
root@ubuntu:~/tools/ssh-honeypot# bin/ssh-honeypot -r ./ssh-honeypot.rsa -p 2222 -v [Tue Sep 29 18:09:47 2020] ssh-honeypot 0.1.0 by Daniel Roberson started on port 2222. PID 295715 [Tue Sep 29 18:09:47 2020] FATAL: ssh_bind_listen():
root@ubuntu:~/tools/ssh-honeypot# bin/ssh-honeypot -r ./ssh-honeypot.rsa -p 22222 -v [Tue Sep 29 18:09:50 2020] ssh-honeypot 0.1.0 by Daniel Roberson started on port 22222. PID 295718 [Tue Sep 29 18:09:50 2020] FATAL: ssh_bind_listen():
Getting the same error here.
happens to me as well, i am using -r option and it still happens
Indeed:
ssh-keygen -t rsa -f ./ssh-honeypot.rsa
./bin/ssh-honeypot -r ssh-honeypot.rsa -p 2222
It works! 👍
U need to be root). Ports behind 1024 is needed to be launched from root.