Security: Enabling SSH

Step 1: Create a domain-name.

2651-3(config)#ip domain-name cyruslab.com

Step 2: Generate RSA key.

2651-3(config)#crypto key generate rsa general-keys modulus 1024

Step 3: Create local username database.

2651-3(config)#username cyrus secret 0 cyrus

Step 4:Configure vty login.

2651-3(config)#line vty 0 15
2651-3(config-line)#login local

Test from another router.

2651-4#ssh -l cyrus 10.0.0.1

2651-3>en
Password:

Advertisement

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 )

Twitter picture

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

Facebook photo

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

Connecting to %s