is there a similar command only with ssh ?
Main Topics
Browse All Topicsis the a way ican establish trust between the network equipment and
my administration workstation so i can run a command like :
ssh username@ciscodevice sh cdp nei
without the need to enter password ?
i have both iOS and catOS on my network so both solutions will be good
thanks
0ren
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You could use expect scripting that uses ssh,
check out this link
http://www-128.ibm.com/dev
harbor235 ;}
Business Accounts
Answer for Membership
by: harbor235Posted on 2006-01-30 at 09:38:11ID: 15825546
You can enable rsh commands, this will allow you to execute remote IOS commands without logging in:
/products/ sw/iosswre l/ps1839/ p roducts_fe ature_guid e09186a008 0087c7f.ht ml#xtocid1
ip rcmd rsh-enable
ip rcmd remote-host remote-host 10.1.1.1 remote-host enable
http://www.cisco.com/en/US
harbor235 ;}