The read utility expects the name of a variable as its argument. With read $sssh, you give it the value of the sssh variable rather than the name of a variable.
I'm assuming that you'd want to read into the sssh variable, in which case you should have used read sssh.
Your modified script (incorporating a read loop that iterates until valid input is given by the user):
#!/bin/bash
while true; do
read -p 'Connect to RPi? (y/n): ' yesno
case $yesno in
y) ssh ...; break ;;
n) echo ok; break ;;
*) echo invalid input >&2
esac
fi
or, longer,
#!/bin/bash
while true; do
read -p 'Connect to RPi? (y/n): ' yesno
if [[ $yesno == 'y' ]]; then
ssh ...
break
elif [[ $yesno == 'n' ]]; then
echo ok
break
fi
echo invalid input >&2
fi