Please tell us your exact image binary - ie., output from:
show version | include bin
You need an image with crypto support ("k9" in binary image) as a prerequisite.
Once you have that, you will need to set a domain-name and create an rsa key before applying ssh transport options to your vty lines. It's also recommended to restrict ssh to v2.
conf t
ip domain-name
crypto key generate rsa
ip ssh version 2
line vty 0 4
transport input ssh
end
copy r s