Question: how to remove vty lines?
Answer: You can use the clear line command to clear any line on the system (vty or console). Using this command terminates any service, such as an FTP session, on this line and closes any open files. You can specify the absolute number to clear any line.