Separate the configuration of the virtual terminal, or, reserve two virtual terminal access from external networks and three from the internal network.
line vty 0 1
line vty 2 4
Keep the outdoor can be accessed only via SSH, and telnet from the internal network or via SSH.
Not address the technical issues of the SSH protocol, the network is filled with good explanations. Just know that at the moment. SSH (Secure Shell) is a protocol that allows to establish an encrypted remote session (all data from the client until they reach the terminal is encrypted or not traveling light as telnet).
line vty 0 1
transport input ssh
line vty 2 4
transport input telnet ssh
Then set up access via SSH.
Meanwhile, make sure that the domain name and hostname are configured. Serves as the basis to generate a cryptographic key. If your router is not set a hostname or the hostname you default, you should change it. Read the rest of this entry »