ssh on cisco switch

hey guys im trying to setup ssh on my cisco switches to replace telnet but a little confused by the instructions.

yourname#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
yourname (config)#hostname LabRouter
LabRouter(config)#
2. Configure a domain name with the ip domain-name command followed by whatever you would like your domain name to be. I used CiscoLab.com.
LabRouter(config)#ip domain-name CiscoLab.com


the domain name step, i dont understand what i am supposed to use there?
what tie in does it have to my domain?
mrbayItAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
You enter the IP domain name for your network.  This will be appended to any host name look-up that is done from/by the network device.

If you worked at Experts Exchange, you would enter experts-exchange.com.

If this is for personal use, I would leave it blank.
0
mrbayItAuthor Commented:
thank you, how can i create a ssh server so it doesn't prompt me to accept the certificate every time i try to putty in
0
giltjrCommented:
It's not the server that is prompting you.  It is your client.

Most ssh clients (puttying being one) only prompt you the 1st time you ssh to a host name or a IP address.  They then store the key in a file.  

You need to look at where putty is setup to store the key.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

mrbayItAuthor Commented:
i understand, so is there anyway though to proactively roll the key out to clients, maybe via group policy or some other means
0
giltjrCommented:
From one Windows box ssh to all of your Cisco devices.  Then on that Windows computer export the regkey:

HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys

Then import that file on all other Windows computers.
0
mrbayItAuthor Commented:
nice that sounds like a good approach, which brings up my last question.

Right now i can ssh into one switch, but how can i ssh into all of them from one center console? Can i do it with cisco network assistant
0
giltjrCommented:
If you have putty in your path from a Windows command prompt you can do:

     putty -ssh user@#.#.#.#

Where #.#.#.# is the IP address of where you want to ssh to.  You will be prompted to save the key and you just click  Yes.
0
mrbayItAuthor Commented:
right but can i for example enable ssh on 10 switches at once
0
giltjrCommented:
Oh, you want to configure SSH on the switches.

I'm not sure if cisco network assistant  can do it or not.  Never used it.   We now use a Solarwinds product to make mass changes.

We used to use RANCID (http://www.shrubbery.net/rancid/) to back up our network devices and make mass changes when needed.

For only ten switches I would type up the commands in notepad and then telnet/console to each one and just copy and past the commands in.

You may want to check and see, I think you can script with putty. and putty support telnet.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.