# Logging into cisco intrusion prevention system

**URL:** <https://www.ruby-forum.com/t/logging-into-cisco-intrusion-prevention-system/173894>\
**Category:** Ruby\
**Created:** [August 17, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/logging-into-cisco-intrusion-prevention-system/173894 "2009-08-17T21:52:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubyhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dfb087/32.png) [@rubyhunter](https://www.ruby-forum.com/u/rubyhunter)\
**Post date:** [August 17, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/logging-into-cisco-intrusion-prevention-system/173894/1 "2009-08-17T21:52:43Z")

</div>

Is there any gem module which can be used to login to the cisco  
intrusion prevention system and execute the commands on the IPS?..

---

<div class="post-metadata">

**Author:** ![rubyhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dfb087/32.png) [@rubyhunter](https://www.ruby-forum.com/u/rubyhunter)\
**Post date:** [August 18, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/logging-into-cisco-intrusion-prevention-system/173894/2 "2009-08-18T12:36:01Z")

</div>

Ruby Haxor wrote:

> Is there any gem module which can be used to login to the cisco  
> intrusion prevention system and execute the commands on the IPS?..

Net::Telnet is in the standard library.

Net::SSH is available as a third-party gem.

Net::SSH::Telnet is another third-party gem which lets you use Net::SSH  
but with a simpler API the same as Net::Telnet (so you can write code  
which uses either Telnet or SSH without any changes apart from when the  
connection is established)

HTH,

Brian.

---

<div class="post-metadata">

**Author:** ![rubyhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dfb087/32.png) [@rubyhunter](https://www.ruby-forum.com/u/rubyhunter)\
**Post date:** [August 18, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/logging-into-cisco-intrusion-prevention-system/173894/3 "2009-08-18T21:10:11Z")

</div>

Brian C. wrote:

> Ruby Haxor wrote:
> 
> > Is there any gem module which can be used to login to the cisco  
> > intrusion prevention system and execute the commands on the IPS?..
> 
> Net::Telnet is in the standard library.
> 
> Net::SSH is available as a third-party gem.
> 
> Net::SSH::Telnet is another third-party gem which lets you use Net::SSH  
> but with a simpler API the same as Net::Telnet (so you can write code  
> which uses either Telnet or SSH without any changes apart from when the  
> connection is established)
> 
> HTH,
> 
> Brian.

Thanks a lot Brian, i’l give it a try and see how it works 🙂
