Enabling SSH and Telnet On Cisco ASA 5505

Note: These are not enabled by default on Cisco ASA

First: Generate the RSA key pairs (not required for telnet)
Second: Designate the permitted host and network
and Thirdly assign the password.
Note: Telnet does not require to generate the RSA key and it is not secure.
ASA(Config)# telnet 10.10.1.0 255.0.0.0 inside
ASA(Config)#passwd 2344
ASA(Config)#telnet timeout 00
SSH
ASA(Config)# crypto key generate rsa modulus 1024
ASA(Config)#ssh 10.10.1.0 255.0.0.0 inside
Note: you can specify and individual node.
ASA(Config)#passwd 1234

Note: you can configure and enable these feature on Cisco ASDM