Skip to content

Newbie questions and feature requests #101

@dumblob

Description

@dumblob

I'll simply list what surprised me, a cpu noob 😉. Could you comment on each of the points?

  1. Running cpud on a Linux machine requires PID 1 - why? Shouldn't root privileges be enough? This makes it impossible to run on pretty much any ordinary Linux distribution (which I'd say defeats the major use case "to seamlessly perform work on running remote machines").
  2. Running cpud -remote on a Linux machine does run the daemon but in addition to that it executes an interactive shell 😮 - why the shell?
  3. cpu doesn't seem to support any way to specify the user to be used to execute the given command at the remote host if the host supports it (yes, this might be a "too high level" request for cpu/cpud but I stand at it as otherwise this again defeats the purpose of using cpu with ordinary running remote machines like Linux/BSD).
  4. On a Linux machine running cpud -remote (I've tried both as root and as a non-root user) and then in another terminal cpu localhost /bin/bash only returns the error 2022/05/04 10:56:43 SSH error Failed to dial: dial tcp [::1]:23: connect: connection refused instead of connecting to the running daemon (and no, there is no firewall on port 23 nor any running SSH daemon nor anything else). Why doesn't this simple case work?

Thanks for explanations, suggestions, etc.!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions