The configuration can be done by considering the following example.
Issue under global configuration mode ,
username cisco priv 15 password cisco
aaa new-modelaaa authentication login default localaaa authentication login cisco group tacacs+ localtacacs-server host key
access-list 1 permit (LAN subnet/mask)
line vty 0 4access-class 1 inlogin authentication defaulttransport input telnet
line vty 5 15login authentication ciscotransport input ssh
Refer SSH for more details on the configuration.
Refer TELNET for more details on it's configuration on PIX .
The output of show line command confirms that SSH and Telnet are going to proper lines as configured.