fixed scp host key error
This commit is contained in:
parent
673c7a3858
commit
d29a4fb511
@ -225,7 +225,7 @@ class ProxmoxHost(LinuxMachine):
|
|||||||
if isinstance(destination, Path):
|
if isinstance(destination, Path):
|
||||||
destination = str(destination.as_posix())
|
destination = str(destination.as_posix())
|
||||||
|
|
||||||
self.run_command(f"scp -B -r {source} {lxc.get_ssh_string()}:{destination}")
|
self.run_command(f"scp -o StrictHostKeyChecking=no -B -r {source} {lxc.get_ssh_string()}:{destination}")
|
||||||
|
|
||||||
def list_dir(self, directory: str or Path, glob_filter: str = '*'):
|
def list_dir(self, directory: str or Path, glob_filter: str = '*'):
|
||||||
"""List the given directory."""
|
"""List the given directory."""
|
||||||
|
Loading…
Reference in New Issue
Block a user