ssh-honeypot icon indicating copy to clipboard operation
ssh-honeypot copied to clipboard

JSON log file error

Open droberson opened this issue 3 years ago • 1 comments

Got this error when dropping permissions. Also does not show the reason for the error:

[Thu Mar 3 16:58:40 2022] FATAL: Unable to open JSON log file:

droberson avatar Mar 03 '22 17:03 droberson

It's a filesystem permission issue.

I changed the docker-compose.yml volume definition to another location on the filesystem where I could give broader permissions and then it worked. Like this:

version: '2' services: ssh-honeypot: image: 'local/ssh-honeypot:latest' build: . ports: - '22:2022' volumes: - ${PWD}/ssh-honeypot-log:/home/honeycomb/log - rsa:/home/honeycomb/rsa networks: default: restart: unless-stopped

volumes: log: driver: local rsa: driver: local

networks: default:

domingo13 avatar Mar 22 '24 17:03 domingo13