summaryrefslogtreecommitdiff
path: root/lib/oxidized/input
AgeCommit message (Collapse)Author
2018-06-14Fix 1385 - telnet brokenytti
Refactor to common login method to ssh/telnet was broken, as common login method made assumptions of expect and cmd API which weren't true for telnet. telnet.rb updated to resemble ssh.rb API.
2018-06-07make login username/passord detection genericSaku Ytti
2018-05-30Rubocop fixSaku Ytti
2018-05-30rubocop fixesSaku Ytti
2018-05-30Add support for CambiumSaku Ytti
Initial HTTP support
2018-05-17Fix telnet (#1343)Bas van Elburg
* Fixed: fix debug logging (passed @log to telnet) * Fixed: call closed on sock of telnet instead of telnet
2018-05-09reduce logspam - auth methods are debug, not infoWild Kat
2018-05-06rubocop fixesytti
much value, wow, very readable
2018-05-06Merge pull request #1266 from ja-frog/masterytti
#1061 Handling devices that only prompt for password via SSH
2018-04-29refactor telnet input logging for consistently with sshWild Kat
2018-04-27refactor login in ssh.rbWild Kat
2018-04-27Merge pull request #1315 from wk/potato-potatoytti
transition from TimeoutError to Timeout::Error
2018-04-27transition from TimeoutError to Timeout::ErrorWild Kat
2018-04-27Rebased and fixed conflictsNeil Lathwood
2018-04-27Add SSH keepaliveSaku Ytti
Closes #1276
2018-04-25Merge branch 'master' into the-great-makeoverWild Kat
2018-04-22Change the debug log fsync to a flushJason Ackley
fsync() can be expensive on OSes and induce timeout failures when running with input debugging of SSH sessions.
2018-04-21the great makeover - standardize layout, alignment, indentationWild Kat
2018-04-19Add handling for devices that only prompt for a password via SSHja-frog
An approach to handling devices that do not prompt for a username, only a password when connecting via ssh. The Calix B6 inspired this.
2018-02-05Added support for setting ssh auth methodsNeil Lathwood
2018-01-25model: Fixed FTP Passive/Active modes & Xyzel XGS4600 series Docs (#1161)KodApa85
* FTP Passive/Active mode added * Documentation for Xyzel XGS4600 series
2017-07-02Update ssh.rbFauli83
2017-03-16Add option to disable StrictHostKeyCheckingArnoud Vermeer
2017-03-16Ignore the host key checkingArnoud Vermeer
2016-10-31it shouldn't be a private methodSaku Ytti
2016-10-31Allow model to specify SSH PTY optionsSaku Ytti
2016-10-17Use variable vars(:ssh_keys) for private key authenticationDenver Abrey
2016-10-13Add key authentication to ssh inputDenver Abrey
2016-08-30Update tftp.rbMajesticFalcon
2016-08-30Update tftp.rbMajesticFalcon
2016-08-30Remove unnecessary debuggingMajesticFalcon
2016-08-30Update Filename and tftp loadMajesticFalcon
2016-08-30Update tftpMajesticFalcon
2016-08-30Add UDP TFTPMajesticFalcon
2016-08-29support terminal and ssh auth for same modelSaku Ytti
Some boxes like prokurwa may authenticate via SSH (proper), or may have no auth on SSH and use terminal auth (improper) Even if SSH is configured for terminal auth, in this change we attempt to detect prompt, so that we won't expect terminal auth, even when requested, if it is not presented.
2016-08-19Disconnect input when expected prompt wasn't foundAndreas Rammhold
2016-07-20create a `logs` dir for all the debug logsDanilo Sousa
2016-07-10move ssh_no_exec exec test into exec definitionNick Hilliard
2016-06-02fix cli specElvin Efendi
2016-06-02cleaner specElvin Efendi
2016-06-02more debug stratementsElvin Efendi
2016-06-02some debug statementsElvin Efendi
2016-02-25fix ssh testSaku Ytti
also fix warning about unused variable
2016-02-24Remove netcat in favor of native ssh tunnelroedie
Newer versions of ssh (>=5.4) support the -W option which makes the use of netcat obsolete. Dropping netcat is useful is you want to hop through a router/switch since they rarely have netcat support.
2016-02-19Made the vars stringsroedie
Tested, and is even better.
2016-02-19Add support to specify cipher and kex for ssh connectionsroedie
Some network equipment exists that does not want to play nice with ssh. This adds the vars ssh_encryption and ssh_kex which can be used to make tell oxidized to use certain encryption and key exchange so it can connect to these devices.
2016-02-06set TERMnopedial
2016-02-05version 0.12.00.12.0nopedial
2016-01-27fixes #288Saku Ytti
2016-01-20option to use ssh proxy commandElvin Efendi