Skip to content

Conversation

@timway
Copy link

@timway timway commented Oct 22, 2025

SUMMARY
  • The Cisco SSH server only supports the SCP protocol and subsequent attempts to interact with the device after a fetch or a put will fail. This patch addresses >
  • As I researched my own troubles in leveraging libssh on an older container image I wrote this patch. It needs a lot more work including at least:
    • Need to add check mode support
    • Need to finish the idempotency checking (namely the reporting back to Ansible)
    • Need to fix the paramiko support
    • Need to reinstate the check for only network_cli connection types
  • Was tested using 358553e9765e7873a9d3972dd877dfe415c1dc06 of libssh from https://gitlab.com/libssh/libssh-mirror/
  • Was tested using a Cisco 2960X running 15.1

I'm working this in conjunction with troubleshooting this issue: https://gitlab.com/libssh/libssh-mirror/-/issues/321

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

net_put

* The Cisco SSH server only supports the SCP protocol and subsequent attempts to interact with the device after a fetch or a put will fail. This patch addresses >
* As I researched my own troubles in leveraging `libssh` on an older container image I wrote this patch. It needs a lot more work including at least:
    * Need to add check	mode support
    * Need to finish the idempotency checking (namely the reporting back to Ansible)
    * Need to fix the `paramiko` support
    * Need to reinstate	the check for only `network_cli` connection types
* Was tested using 358553e9765e7873a9d3972dd877dfe415c1dc06 of libssh from https://gitlab.com/libssh/libssh-mirror/
* Was tested using a Cisco 2960X running 15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant