script not killing process!

i am using script to connect remotly to server and run some commands , one of these commands is to kill some process but tried different ways with no hope

sshpass -p 'pass' ssh -o StrictHostKeyChecking=no server kill -9 `pgrep procs`

getting error message "kill: bad argument count"

thanks to advice

try..

sshpass -p 'pass' ssh -o StrictHostKeyChecking=no server 'kill -9 `pgrep procs`'

yes it works fine now

great thanks