kkrunner.remote.SshTransport

class kkrunner.remote.SshTransport(host, *, ssh='ssh', options=(), zstd=False, command=('kkrunner', 'remote'))[source]

Bases: Transport

Transport using the system ssh client.

async start(argv, *, cwd=None, stdin=None)[source]
async run(argv, *, cwd=None, input=None, check=True)[source]
async put_file(source, destination)[source]
async get_file(source, destination)[source]
async query_files(sources, *, root=None, digest=False)[source]

Query literal paths, or expand root-confined patterns, in one batch.

async expand_files(sources, root)[source]

Expand paths/patterns on the target filesystem into concrete files.

async put_files(sources, source_root, destination_root)[source]
async get_files(sources, source_root, destination_root)[source]
async read_file(path)[source]
async file_digest(path)[source]

Return the SHA-256 digest of path, or None if it does not exist.

async file_signature(path)[source]

Return (size, mtime_ns) for path, or None if absent.