Add restricted SSH admin shell
This commit is contained in:
parent
64e0168dbf
commit
59ccf6c748
9 changed files with 358 additions and 14 deletions
|
|
@ -77,8 +77,12 @@ proxy <node-id>` command performs an authorized Iroh control-plane handshake:
|
|||
the remote daemon validates the caller's signed peer card against the observed
|
||||
Iroh EndpointID and requires `ssh_proxy.connect` on
|
||||
`resource:ssh-proxy:local`. It returns connection metadata only. Carrying SSH
|
||||
bytes over an Iroh stream and connecting to remote sshd or a restricted admin
|
||||
shell remain future work, and will not make SSH a geth transport backend.
|
||||
bytes over an Iroh stream is implemented on the dedicated `/geth/ssh-proxy/1`
|
||||
ALPN and only connects to remote `127.0.0.1:22` after authorization.
|
||||
`geth ssh admin-shell <node-id> <help|status|node-id>` is a separate restricted
|
||||
geth admin workflow over the protected Iroh control path. It requires
|
||||
`ssh_proxy.admin_shell` and executes only built-in geth commands, never host
|
||||
shell commands. Neither path makes SSH a geth transport backend.
|
||||
|
||||
SSH certificate flows use the same split. Nodes can request new OpenSSH
|
||||
certificates or renewals through geth metadata. A machine with the CA key or
|
||||
|
|
|
|||
Loading…
Reference in a new issue