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

Classes

struct  Connection

Public Member Functions

 SSHMaster (const ParsedURL::Authority &authority, std::optional< std::filesystem::path > keyFile, std::string_view sshPublicHostKey, bool useMaster, bool compress, Descriptor logFD=INVALID_DESCRIPTOR)
std::unique_ptr< Connection > startCommand (OsStrings &&command, OsStrings &&extraSshArgs={})

Member Function Documentation

◆ startCommand()

std::unique_ptr< SSHMaster::Connection > nix::SSHMaster::startCommand ( OsStrings && command,
OsStrings && 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:
  • libstore/include/nix/store/ssh.hh
  • libstore/ssh.cc