CCNA 200-301 Quick Quiz (Text And Video): SSH Configurations

Welcome to a new series of CCNA Quick Quizzes!    Every day, I’ll post a new one-question quiz in both video and text format.   Here’s the video for today’s question, straight from my YouTube CCNA Channel:

And if you prefer text, let’s get right to today’s question!

Which of the following commands will you NOT use in a successful SSH deployment that uses a Cisco router as the SSH client and a Cisco switch as the SSH server?

A.  hostname

B.  login (on the VTY lines)

C.  ip domain-name

D.  crypto key generate rsa

The answer — along with an important tidbit about the three commands you will use in an SSH configuration — right after this quick reminder!

Flash cards have been proven to be THE most effective way to retain and apply knowledge – and now you can get a free set of Spanning-Tree Protocol Flash Cards from yours truly!

Just follow this link to the main page, and on the sales page you’ll see a set of STP cards with a price of “0.00”.  That’s as free as it gets!  This free flash card offer launches Monday, October 5, 2020.

CCNA 200-301 Flash Cards

Chris Bryant’s CCNA Flash Cards

Now for that answer!   The correct answer is “B”.  You can’t use the login command on the VTY lines in an SSH configuration on a Cisco router or switch, because SSH doesn’t allow the “one-size-fits-all” password that looks like this:

line vty 0 4

     password CCNA


Instead, you’ll need to set up an external authentication device OR create a local username/password database on the SSH Server.    To use that database for authentication, you’ll need the login local command on the VTY lines.

Now, as for the commands you will use — hostname, ip domain-name, and  crypto key generate rsa.  You’ll need to run the hostname and ip domain-name commands first, because crypto key generate rsa uses the info you enter with those commands.  If you try to create the crypto key without a hostname or domain name, the attempt will fail.

I have plenty of additional CCNA practice exams ready to test your knowledge (and add to it, of course!), with more to come every day.    Head over and tackle those tests, and I’ll see you tomorrow with a new CCNA Quick Quiz!

Thanks for coming by!

Chris B.