Here is the command to implement telnet and allow it to the inside interface for any IP address in the subnet 10.1.0.0/24:
telnet 10.1.0.0 255.255.255.0 inside
If you wanted to allow it from anywhere to the inside interface (but this is extremely insecure):
telnet 0.0.0.0 0.0.0.0 inside
You cannot enable telnet to the outside interface unless it is protected by an IPSEC tunnel, so I wouldn't try to do this.
You have to generate an RSA key to use SSH, so there are some additional commands to do for it. Here are the commands to implement SSH in the same fashion as telnet above (allowing 10.1.0.0/24 to the inside interface):
ca generate rsa key 1024
ca save all
ssh 10.1.0.0 255.255.255.0 inside
It's important to mention that you only need to issue the "ca" commands above one time. If you later change the SSH access list to include/exclude certain IP addresses, you only have to enter the "ssh" command or the "no ssh" command to make the changes.