I’m working on an automatous backup and restore for my FreePBX systems but I encounter an issue with the restore.
I’ve set up my ssh server with a chroot jail and a specific user for my backups.
Thing is when i try to browse through this server, I’m not able to.
I first though it was about permission, as I suppose asterisk log in with ssh on the specified user and then try a “ls” command of the repertories.
I tried with a root user and nothing.
The only thing I can find in my logs is that I correctly log in to the server.
I would want to know what exactly asterisk is doing when he’s browsing the restore servers.
Does anyone have an idea ? Or maybe someone knows a good way to log everything that happen in an ssh session from server side ?