To block SSH and Telnet using an access-list:
configure terminal access-list 101 deny tcp host 10.0.0.2 eq 23 host 10.0.0.65 access-list 101 deny tcp host 10.0.0.2 eq 22 host 10.0.0.65 access-list 101 permit ip any any interface s0/1/0 ip access-group 101 out