Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add banner_timeout Parameter in ibm_svc_ssh.py Plugin #53

Open
cNeha opened this issue Dec 6, 2024 · 1 comment
Open

Add banner_timeout Parameter in ibm_svc_ssh.py Plugin #53

cNeha opened this issue Dec 6, 2024 · 1 comment

Comments

@cNeha
Copy link

cNeha commented Dec 6, 2024

SUMMARY

The ibm_svc_ssh plugin in the IBM Storage Virtualize Collection relies on Paramiko for SSH connections. However, the plugin does not currently support the banner_timeout parameter in the client.connect() method. This leads to potential connection issues when an SSH banner is present, as the default behavior may cause delays or timeouts if the banner is not handled within a reasonable timeframe.

ISSUE TYPE
  • Bug Report
ANSIBLE VERSION

ansible 2.14

EXPECTED RESULTS

The SSH connection should handle banners gracefully, timing out if the banner is not received within the specified banner_timeout duration.

ACTUAL RESULTS

The plugin fails to establish an SSH connection if the banner delays the handshake, as there is no banner_timeout configured.

REFERENCES

https://github.com/ansible/ansible/blob/1ad0c404ef05f6d6a03d59ad25b55860f15d1da0/lib/ansible/plugins/connection/paramiko_ssh.py

@sumitguptaibm
Copy link
Collaborator

Thanks for contacting us!!
We'll discuss it within team and let you know how it goes.

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

No branches or pull requests

2 participants