Skip to content

Commit

Permalink
sftp: add support for configured IdentityFile
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Sep 15, 2024
1 parent c7b98b4 commit 9e4e8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/borgstore/backends/sftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def _connect(self):
hostname=scd.get("hostname", self.hostname),
username=scd.get("user", self.username),
port=scd.as_int("port") if "port" in scd else self.port,
key_filename=scd.get("identityfile", None),
allow_agent=True,
)
self.client = ssh.open_sftp()
Expand Down

0 comments on commit 9e4e8d6

Please sign in to comment.