I found the solution ! the problem was with authentification, I had to use token to get approved, thanks to @rccoleman in the following post https://community.home-assistant.io/t/using-long-lived-access-tokens-to-execute-hassio-commands-over-ssh/106878/3?u=kiman
Thanks.