pub struct SshKeysOut {
pub path: PathBuf,
pub shim: PathBuf,
pub root: PathBuf,
pub handoff: PathBuf,
}Expand description
Where a generated authorized_keys goes and what the forced command
in it should say (D31’s file, written by the node instead of by hand).
Fields§
§path: PathBufFile to write. sshd is pointed at it once with
AuthorizedKeysFile; it is generated, so a hand edit is lost at
the next mutation.
shim: PathBufThe choir-ssh binary the forced command runs.
root: PathBufRepository root the shim serves, its --root.
handoff: PathBufThe --handoff file the shim reads the daemon’s address and
loopback secret from. Without it the shim refuses pushes rather
than running them unsequenced, so it is not optional here.
Trait Implementations§
Source§impl Clone for SshKeysOut
impl Clone for SshKeysOut
Source§fn clone(&self) -> SshKeysOut
fn clone(&self) -> SshKeysOut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SshKeysOut
impl RefUnwindSafe for SshKeysOut
impl Send for SshKeysOut
impl Sync for SshKeysOut
impl Unpin for SshKeysOut
impl UnsafeUnpin for SshKeysOut
impl UnwindSafe for SshKeysOut
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more