Hass.io execute remote shell script

Hi all,
I was able to get an rsa_pub key from the hass.io server (not the ssh server addon!) and added that to the remote ssh server.
Now I did a shell command with the following config:

shell_command:
  create_keys: ssh-keygen -t rsa -N "" -f my.key
  randomfood: 'ssh user@7208ad356903 "/bin/bash /home/user/scripts/shellscript.sh {{ telegram_sender }} {{ option2}}"'

But it doesnt matter what command I try, I get:

Error running command: ssh user@7208ad356903 "/bin/bash /home/user/scripts/shellscript.sh ", return code: 255

NoneType: None