Bug in sample app on doc #606
That's unintentionally hilarious.. the bug has been there for so long that the API changed to 'router.ssh()', and now there is a plan to return it to 'ssh.connect()'. I'm unfortunately quite blind to the state of the documentation just from keeping on top of development and testing
If you are playing with the library itself (as opposed to the Ansible extension), beware the fakessh component is currently broken and there is no plan to fix the current design. It needs a complete rewrite to add flow control, but I don't want to add Yet Another flow control mechanism, so that rewrite is deferred until a generic design exists.
The getting started guide is still in a state of disrepair. I have actually sat down a few times recently to finally pad it out. It might be worth scanning all the notes for that chapter from #451
Thanks for reporting this!