I have a switch with multiple vlans, each of which has its own IP address.
I want to limit connections to the switch VTY lines to only one source host and one DST switch ip on a particular vlan.
Is this possible by using access-class on the VTY lines?
yes because the access-class can be applied inbound and outbound:
you just need to define two standard ACLs and to use them
access-list 11 permit host source
access-list 12 permit host destination
line vty 0 4
access-class 11 in
access-class 12 out
verify how many vtys are on your switch
Hope to help