Changes for version 1.05 - 2013-08-25
- As of this version, Telnet & SSH connections can now be run over IPv6, as long as IO::Socket::IP is installed
- SSH failed connection now gives error message "SSH unable to connect" instead of "SSH unable to password authenticate"
- Net-SSH2 (libssh2) eof still not working, and now returning a different error on disconnection; updated eof method
- Some devices have a crude SSH implementation with no authentication and instead use an interactive login after the SSH connection is established (just like Telnet does); the connect() method is now changed to allow these SSH connections
- Added connection_timeout for Telnet and SSH connections; previously no consistent connection timeout was enforced
- Method connect() now accepts '$host [$port]' which will work for IPv6 addresses; syntax '$host[:$port]' is deprecated
- Serial port disconnect() now flushes recent writes before closing the connection; needed with Device::SerialPort
- Method waitfor() now catches invalid Perl regular expression patterns passed to it and performs the error mode action
- Added a flush_credentials method to undefine stored credentials
- Code changes to pass Perl Critic severity 4 and above violations
Modules
Command Line Interface I/O over either Telnet or SSH (IPv4 & IPv6) or Serial port