You have to look at the specs for a particular SSR, but in general they require 10-20mA DC (the input is an LED) to turn on. The LED requires a couple volts and it will need a series input resistor (if it doesn't have one internally) to generate the proper current from your 5V source.