Class Cisco::SSH
In: lib/cisco/ssh.rb
Parent: Object

Methods

close   cmd   new   run  

Included Modules

Common

Public Class methods

Public Instance methods

Disconnect the session. Either Net::SSH has a bug, or the Cisco implementation is sometimes whacky, causing an exception to be thrown when trying to close the channel via the SSH protocol. To get around this, this method simply sends "exit" until the device disconnects us.

[Validate]