Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

which programming language has the best library for ssh into Cisco Router/Switch

I need to create a web app to load config for routers and switches

interace with TCL.

which programming language has the best library ssh into Cisco Router/Switch.

Run commands to loading config files and etc...

5 REPLIES
Cisco Employee

which programming language has the best to ssh into Cisco Router

Just about any language can be made to work.  Perl, for example, has a number of modules that make SSH and telnet access to Cisco devices easy.  However, I find the Expect language easiest to just do simple automations with devices since you don't need any additional libraries.  All you need is a command line ssh client.

New Member

which programming language has the best library for ssh into Cis

isn't Expect limited compare to like PHP or Perl?

Cisco Employee

which programming language has the best library for ssh into Cis

I guess that depends on what you mean by "limited."  I find it very functional for being able to grab data off of Cisco devices as well as make configuration changes.

New Member

which programming language has the best library for ssh into Cis

I've had great success with Python+Paramiko (http://www.lag.net/paramiko/).

Python is a programmer-friendly language, and Paramiko is very easy to use.

I found it much easier to work with than Expect, and you can use the whole Python language + extensive standard and non-standard libraries to solve your problems.

Give it a try.

New Member

which programming language has the best library for ssh into Cis

I will try Paramiko

2078
Views
0
Helpful
5
Replies
CreatePlease login to create content