Software Development Kit (SDK) and API Discussions

ssh without password with Python


I'm trying to set up ssh without a password using HostConnection(host, username: str = None, password: str = None, cert: str = None, key: str = None, verify: bool = True, poll_timeout: int = 30, poll_interval: int = 5, headers: dict = None) from the Python SDK.

I know ssh without a password is working because I can ssh to the filer in a shell but I can't seem to get it to work in a Python script.

Any suggestions for how to do this?

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner