Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::SSHMaster Class Reference

Classes

struct  Connection
 

Public Member Functions

 SSHMaster (std::string_view host, std::string_view keyFile, std::string_view sshPublicHostKey, bool useMaster, bool compress, Descriptor logFD=INVALID_DESCRIPTOR)
 
std::unique_ptr< ConnectionstartCommand (Strings &&command, Strings &&extraSshArgs={})
 

Member Function Documentation

◆ startCommand()

std::unique_ptr< SSHMaster::Connection > nix::SSHMaster::startCommand ( Strings && command,
Strings && extraSshArgs = {} )
Parameters
commandThe command (arg vector) to execute.
extraSshArgsExtra arguments to pass to SSH (not the command to execute). Will not be used when "fake SSHing" to the local machine.

The documentation for this class was generated from the following files: