-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I'll simply list what surprised me, a cpu noob 😉. Could you comment on each of the points?
- Running
cpud
on a Linux machine requires PID 1 - why? Shouldn'troot
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"). - Running
cpud -remote
on a Linux machine does run the daemon but in addition to that it executes an interactive shell 😮 - why the shell? 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 forcpu
/cpud
but I stand at it as otherwise this again defeats the purpose of usingcpu
with ordinary running remote machines like Linux/BSD).- On a Linux machine running
cpud -remote
(I've tried both asroot
and as a non-root
user) and then in another terminalcpu localhost /bin/bash
only returns the error2022/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
Labels
No labels