[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Access Cisco Devices via SSH using PHP code

Posted on 2014-12-16
3
Medium Priority
?
1,657 Views
Last Modified: 2015-02-05
Hi,

I want to access the Cisco devices like Wireless Controllers etc via SSH using PHP code and execute a few commands and then display the output on to the webpage. If any one can provide a way or a working example which shows a way to access either Cisco Wireless Controller or Router or Switch will do the job.
0
Comment
Question by:Vipin Kumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Expert Comment

by:jburgaard
ID: 40510890
0
 
LVL 22

Expert Comment

by:Matt V
ID: 40510902
0
 
LVL 65

Accepted Solution

by:
btan earned 2000 total points
ID: 40511231
here is one via telnet using php codes for easier troubleshooting of port and for ssh, you should check out "ssh2_connect" and you will need the "libssh2" libraries. Other alternative, besides phpseclib (which is not bad) is using Net_SSH2 or PECL SSH2. Here is one example shared in Cisco forum on php code sample (though not mentioned to be tested) doing WLC backup
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
This program is used to assist in finding and resolving common problems with wireless connections.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question