Enable SSH instead of Telnet for Remote Admin

Enable SSH instead of Telnet for Remote Administration

SSH provides an encryption shell to prevent snooping by unwanted parties and authentication. SSH shell sessions are encrypted, whereas Telnet is in clear text. Passwords and any data transferred from a user accessing a device is private and not easily viewable.

The following configurations are used to enable SSH on a device:

Cisco IOS access router

hostname access-router

ip domain name ese.cisco.com

!

cry key generate rsa general-keys modulus 1024

!

ip ssh version 2

ip ssh time-out 60

ip ssh authentication-retries 2

ip ssh source-interface GigabitEthernet0/1

!

line vty0 15

Transport input ssh

 

Cisco Catalyst switch

hostname catalyst-switch

ip domain name ese.cisco.com

!

cry key generate rsa general-keys modulus 1024

!

ip ssh version 2

ip ssh time-out 60

ip ssh authentication-retries 2

ip ssh source-interface Vlan193!

!

line vty 0 15

Transport input ssh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: