You want to use SSH for secure encrypted remote access to your router.
You can configure your router to run an SSH Version 1 server for VTY access:
configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#
crypto key generate rsaThe name for the keys will be: Router1.oreilly.com Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes. How many bits in the modulus :
Generating RSA keys ... [OK] Router1(config)# Jun 27 15:04:15: %SSH-5-ENABLED: SSH 1.5 has been enabled Router1(config)#
ip ssh time-out
ip ssh authentication-retries
SSH became available in Cisco’s IOS, starting with release 12.1(1)T. However, only versions of IOS that support IPSec (DES or 3DES) encryption include SSH support. Note that there are severe restrictions on exporting any software that includes 3DES outside of United States and Canada.
Beginning with IOS Version 12.3(4)T, Cisco introduced support for SSH Version 2. The configuration is identical. However, only IOS versions that support 3DES encryption will support SSH Version 2. Also, the RSA key-pair size must be greater than or equal to 768.
SSH provides a secure method of communication between network entities by the means of ...