btrsync.sync.root.ssh¶
Btrfs roots for remote access via SSH.
Functions
|
Return an appropriate btrfs root class for accessing btrfs filesystems on remote machines using ssh. |
- btrsync.sync.root.ssh.SSHRoot(host, *, user=None, port=None, pkpath=None, compress=False, sudo=False)[source]¶
Return an appropriate btrfs root class for accessing btrfs filesystems on remote machines using ssh.
- Parameters
host – the remote host to ssh into
user – the user to log in as
port – the port to connect to on host
pkpath – the local path to the private key (identity) file to use
compress – if
True, enable compression on the ssh channelsudo – if
True, usesudoto executebtrfscommands on the remote machine