desaster / kippo

Kippo - SSH Honeypot
1.62k stars 277 forks source link

SSH port 22 Permission denied #180

Closed dirtdiver512 closed 9 years ago

dirtdiver512 commented 9 years ago

All, I have a few issues.

One after an install the start up script is looking for a pid file in the /var/run/kippo/kipo.pid, but that doesnt exist after reboot.

Also if is try and start the service after changing it from port 2222, the default setting, to 22 i get a permission denied.

any thoughts?

Waseem-farooqui commented 9 years ago

You have changed it to port 22 from 2222?? have you restart the ssh service ?

akaasjager commented 9 years ago

Because port 22 can only be opened by root, you cannot use it. You should not run Kippo with root privileges!

The solution is to

You can find examples for IPTables on *NixCraft: http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/

dirtdiver512 commented 9 years ago

thanks I ended up needing to use iptables, any other solution was not reliable