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

TypeError: SSHClientConfig.__init__() missing 2 required positional args #99

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
re:
  • Loading branch information
99-NinetyNine authored Jan 7, 2025
commit f053aa64548ba71200f613803b73c02c69fa1313
4 changes: 3 additions & 1 deletion dvc_ssh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ def _prepare_credentials(self, **config):
)
try:
user_ssh_config = parse_config(
host=config["host"], port=config.get("port", DEFAULT_PORT)
host=config["host"],
port=config.get("port", DEFAULT_PORT)
)

except FileNotFoundError:
user_ssh_config = {}

Expand Down