a
This commit is contained in:
parent
4bb647d595
commit
f395af457a
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@ def setup(ceph_url, ssh_username, ssh_key_path):
|
|||
cnopts = pysftp.CnOpts()
|
||||
cnopts.hostkeys = None # disable host key checking.
|
||||
with pysftp.Connection(host=ceph_url, username=ssh_username,
|
||||
password="",private_key=ssh_key_path,
|
||||
private_key=ssh_key_path,
|
||||
cnopts=cnopts) as sftp:
|
||||
sftp.get_r('/etc/ceph', '/etc/ceph', preserve_mtime=True)
|
Loading…
Reference in a new issue