Set up pump remote access baseline
This commit is contained in:
parent
8fcb0418c3
commit
b78dfeb9b8
22 changed files with 477 additions and 55 deletions
|
|
@ -17,3 +17,14 @@ This folder is the optional asynchronous command and status bus for machines tha
|
|||
- Machine daemons must execute only allowed command types.
|
||||
- Results should link to project files, commits, logs, or summaries.
|
||||
|
||||
## Windows Runner Allowlist
|
||||
|
||||
The current Windows runner accepts:
|
||||
|
||||
- `ping`
|
||||
- `inventory`
|
||||
- `git-status`
|
||||
- `setup-remote-access`
|
||||
|
||||
`setup-remote-access` is intentionally narrow: it installs/verifies the documented OpenSSH/TigerVNC baseline only when the runner is elevated. It must not store VNC passwords, SSH private keys, GitHub tokens, camera credentials, or remote-desktop credentials.
|
||||
|
||||
|
|
|
|||
19
agent-bus/commands/qore/2026-05-24-setup-remote-access.md
Normal file
19
agent-bus/commands/qore/2026-05-24-setup-remote-access.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
type: setup-remote-access
|
||||
requested-by: pump
|
||||
created: 2026-05-24
|
||||
---
|
||||
|
||||
# Setup Remote Access Baseline On qore
|
||||
|
||||
Install or verify the Windows garage remote-access baseline:
|
||||
|
||||
- OpenSSH Server running automatically on TCP 22.
|
||||
- Local public keys mirrored to `C:\ProgramData\ssh\administrators_authorized_keys` with restricted ACLs when running elevated.
|
||||
- TigerVNC viewer installed.
|
||||
- TigerVNC WinVNC server installed, registered as service, running automatically on TCP 5900.
|
||||
- Firewall rules for TCP 22 and TCP 5900.
|
||||
|
||||
Do not store passwords, VNC credentials, SSH private keys, GitHub tokens, RustDesk/AnyDesk credentials, or camera credentials in the repository.
|
||||
|
||||
If elevation is missing, write a result that says the command needs an elevated runner or elevated local shell.
|
||||
19
agent-bus/commands/wuu/2026-05-24-setup-remote-access.md
Normal file
19
agent-bus/commands/wuu/2026-05-24-setup-remote-access.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
type: setup-remote-access
|
||||
requested-by: pump
|
||||
created: 2026-05-24
|
||||
---
|
||||
|
||||
# Setup Remote Access Baseline On wuu
|
||||
|
||||
Install or verify the Windows garage remote-access baseline:
|
||||
|
||||
- OpenSSH Server running automatically on TCP 22.
|
||||
- Local public keys mirrored to `C:\ProgramData\ssh\administrators_authorized_keys` with restricted ACLs when running elevated.
|
||||
- TigerVNC viewer installed.
|
||||
- TigerVNC WinVNC server installed, registered as service, running automatically on TCP 5900.
|
||||
- Firewall rules for TCP 22 and TCP 5900.
|
||||
|
||||
Do not store passwords, VNC credentials, SSH private keys, GitHub tokens, RustDesk/AnyDesk credentials, or camera credentials in the repository.
|
||||
|
||||
If no runner is installed on `wuu`, the next local agent on `wuu` should execute this task manually using `skills/windows-remote-access-baseline.md`.
|
||||
|
|
@ -6,11 +6,11 @@ pump
|
|||
|
||||
## Last Seen
|
||||
|
||||
2026-05-24 14:40 Europe/Moscow
|
||||
2026-05-24 15:35 Europe/Moscow
|
||||
|
||||
## Current Task
|
||||
|
||||
Inventory `pump` as the expected final `garage` runtime computer and update `agent-knowledge-base`.
|
||||
Install and verify the garage remote-access baseline on `pump`; publish repeatable setup for `qore` and `wuu`.
|
||||
|
||||
## Repositories
|
||||
|
||||
|
|
@ -32,9 +32,11 @@ Inventory `pump` as the expected final `garage` runtime computer and update `age
|
|||
| MCP `node_repl` | verified | Configured in `C:\Users\post\.codex\config.toml` and verified from this session. |
|
||||
| Git | available | Git `2.53.0.windows.2`, Git LFS `3.7.1`. |
|
||||
| OpenSSH client | available | OpenSSH_for_Windows_9.5p2. |
|
||||
| OpenSSH server | not found | No `sshd` service/listening port detected. |
|
||||
| OpenSSH server | running | `sshd` and `ssh-agent` automatic/running; TCP `22` listens on IPv4/IPv6; key login verified to `localhost` and `192.168.1.39`. |
|
||||
| GitHub SSH | verified | Authenticates as `krustophski` using local key `github_pump_agent_knowledge_base_ed25519`; do not commit key material. |
|
||||
| VNC/TigerVNC | not found | No service/process/install/listening port detected. |
|
||||
| TigerVNC viewer | installed | `C:\Program Files\TigerVNC\vncviewer.exe`, version `1.16.2`. |
|
||||
| TigerVNC server | running | `C:\Program Files\TigerVNC server\winvnc4.exe`, service `TigerVNC` automatic/running; TCP `5900` listens on IPv4/IPv6. |
|
||||
| VNC auth | configured outside repo | RFB handshake advertises `VeNCrypt,VNCAuth` and not `None`; full remote login still needs password-side verification without storing credentials. |
|
||||
| NDI 6 Tools | installed | `C:\Program Files\NDI\NDI 6 Tools`; NDI Webcam virtual devices present. |
|
||||
| Ollama | running | Listening on port `11434`. |
|
||||
|
||||
|
|
@ -52,9 +54,12 @@ Inventory `pump` as the expected final `garage` runtime computer and update `age
|
|||
- Hostname: `PUMP`.
|
||||
- IPv4: `192.168.1.39` on `Ethernet 3`; `10.33.0.2` on `tun2`.
|
||||
- Mapped shares: `A:` -> `\\qore\C`; `B:` -> `\\wuu\C`.
|
||||
- GitHub push: verified from `pump`; pushed `46598d2` to `main` on 2026-05-24.
|
||||
- SSH: verified from `pump` to `post@localhost` and `post@192.168.1.39` using local key login.
|
||||
- VNC: TigerVNC server listening on `192.168.1.39:5900`; credentials are outside the repository.
|
||||
- GitHub push: verified from `pump`; pushed `46598d2` and later commits to `main` on 2026-05-24.
|
||||
|
||||
## Notes
|
||||
|
||||
- Do not commit Codex auth files, MCP headers, SSH keys, GitHub tokens, camera credentials, VNC credentials, or Windows share credentials.
|
||||
- `pump` can edit and push the shared knowledge base through the `B:` mapped share using the local SSH key configured in the repository's `core.sshCommand`.
|
||||
- `skills/windows-remote-access-baseline.md` contains the repeatable OpenSSH/TigerVNC setup for other Windows project computers.
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ idle; garage-agent-runner polling agent-bus.
|
|||
| Service | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| garage-agent-runner | scheduled | Windows Scheduled Task garage-agent-runner-qore should run every 5 minutes. |
|
||||
| TigerVNC | viewer installed | C:\Program Files\TigerVNC\vncviewer.exe; no TigerVNC server found on Windows package. |
|
||||
| TigerVNC | viewer installed | C:\Program Files\TigerVNC\vncviewer.exe; no TigerVNC server found yet; `setup-remote-access` command queued to install pump-verified WinVNC server path if elevated. |
|
||||
| TightVNC | not installed | winget installer was cancelled at interactive setup step. |
|
||||
| RustDesk | Running | Installed as Windows service; credentials are outside this repository. |
|
||||
| AnyDesk | Running | Installed as Windows service; credentials are outside this repository. |
|
||||
|
|
@ -48,5 +48,6 @@ idle; garage-agent-runner polling agent-bus.
|
|||
## Notes
|
||||
|
||||
- GitHub SSH access to krustophski/agent-knowledge-base works with local key id_devman; private key is not stored in this repository.
|
||||
- Runner accepts only allowlisted command types: ping, inventory, and git-status.
|
||||
- Runner accepts only allowlisted command types after latest repo update: ping, inventory, git-status, and setup-remote-access.
|
||||
- Queued command: `agent-bus/commands/qore/2026-05-24-setup-remote-access.md`.
|
||||
- Do not store VNC, RustDesk, AnyDesk, camera, SSH private key, or GitHub credentials here.
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Prepare `wuu` for webcam ProjectionMapping work and update `agent-knowledge-base
|
|||
| Service | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| TigerVNC viewer | installed | `C:\Program Files\TigerVNC\vncviewer.exe`; no server installed. |
|
||||
| VNC server | not configured | TigerVNC winget package is viewer-only on Windows. |
|
||||
| VNC server | not configured | TigerVNC winget package is viewer-only on Windows; pump-verified WinVNC baseline is queued in `agent-bus/commands/wuu/2026-05-24-setup-remote-access.md`. |
|
||||
| Codex | available | Codex home exists at `C:\Users\post\.codex`. |
|
||||
| MCP `node_repl` | verified | Returned runtime metadata in this session. |
|
||||
| MCP `blender_mcp` | configured | Config exists; live Blender connection not verified. |
|
||||
|
|
@ -34,7 +34,7 @@ Prepare `wuu` for webcam ProjectionMapping work and update `agent-knowledge-base
|
|||
## Connectivity
|
||||
|
||||
- SSH: OpenSSH client available; GitHub SSH auth works as `krustophski`.
|
||||
- VNC: TigerVNC viewer installed; no VNC server/listener configured.
|
||||
- VNC: TigerVNC viewer installed; no VNC server/listener configured yet; install baseline is queued for local/elevated execution.
|
||||
- Camera: `Logi C270 HD WebCam` live frame verified; `AV TO USB2.0` detected by PnP but not available through ffmpeg DirectShow.
|
||||
- GitHub push: verified with dry-run push to `krustophski/agent-knowledge-base`.
|
||||
|
||||
|
|
|
|||
|
|
@ -61,6 +61,146 @@ function Get-RepositorySummary {
|
|||
}
|
||||
}
|
||||
|
||||
function Test-IsElevated {
|
||||
$principal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
|
||||
return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
|
||||
}
|
||||
|
||||
function Ensure-FirewallRule {
|
||||
param(
|
||||
[string]$Name,
|
||||
[string]$DisplayName,
|
||||
[int]$Port
|
||||
)
|
||||
if (-not (Get-NetFirewallRule -Name $Name -ErrorAction SilentlyContinue)) {
|
||||
New-NetFirewallRule -Name $Name -DisplayName $DisplayName -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort $Port | Out-Null
|
||||
} else {
|
||||
Enable-NetFirewallRule -Name $Name | Out-Null
|
||||
}
|
||||
}
|
||||
|
||||
function Copy-PublicKeysForAdminSsh {
|
||||
$programDataSsh = Join-Path $env:ProgramData "ssh"
|
||||
$adminAuthorizedKeys = Join-Path $programDataSsh "administrators_authorized_keys"
|
||||
$candidateFiles = @(
|
||||
(Join-Path $env:USERPROFILE ".ssh\authorized_keys"),
|
||||
(Join-Path $env:USERPROFILE ".ssh\id_devman.pub")
|
||||
)
|
||||
|
||||
$candidateFiles += Get-ChildItem -LiteralPath (Join-Path $env:USERPROFILE ".ssh") -Filter "*.pub" -ErrorAction SilentlyContinue |
|
||||
ForEach-Object { $_.FullName }
|
||||
|
||||
$keys = foreach ($file in ($candidateFiles | Sort-Object -Unique)) {
|
||||
if (Test-Path -LiteralPath $file) {
|
||||
Get-Content -LiteralPath $file | Where-Object { $_ -match "^(ssh-ed25519|ssh-rsa|ecdsa-sha2-)" }
|
||||
}
|
||||
}
|
||||
|
||||
if (-not $keys) {
|
||||
return "No local public keys found under the user .ssh directory; SSH service was enabled but key login still needs a public key."
|
||||
}
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $programDataSsh | Out-Null
|
||||
$existing = @()
|
||||
if (Test-Path -LiteralPath $adminAuthorizedKeys) {
|
||||
$existing = Get-Content -LiteralPath $adminAuthorizedKeys | Where-Object { $_ -match "\S" }
|
||||
}
|
||||
|
||||
@($existing + $keys | Sort-Object -Unique) | Set-Content -LiteralPath $adminAuthorizedKeys -Encoding ascii
|
||||
icacls $adminAuthorizedKeys /inheritance:r | Out-Null
|
||||
icacls $adminAuthorizedKeys /grant "SYSTEM:F" "Administrators:F" | Out-Null
|
||||
icacls $adminAuthorizedKeys /remove "Users" "Authenticated Users" "Everyone" 2>$null | Out-Null
|
||||
|
||||
return "Updated C:\ProgramData\ssh\administrators_authorized_keys with local public keys and restricted ACLs."
|
||||
}
|
||||
|
||||
function Install-TigerVncServer {
|
||||
$viewer = "C:\Program Files\TigerVNC\vncviewer.exe"
|
||||
$server = "C:\Program Files\TigerVNC server\winvnc4.exe"
|
||||
$installer = Join-Path $env:TEMP "tigervnc64-winvnc-1.16.2.exe"
|
||||
$url = "https://sourceforge.net/projects/tigervnc/files/stable/1.16.2/tigervnc64-winvnc-1.16.2.exe/download"
|
||||
$expectedSha256 = "32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16"
|
||||
$lines = New-Object System.Collections.Generic.List[string]
|
||||
|
||||
if (-not (Test-Path -LiteralPath $viewer)) {
|
||||
$winget = Get-Command winget -ErrorAction SilentlyContinue
|
||||
if ($winget) {
|
||||
& winget install --id TigerVNC.TigerVNC --exact --accept-package-agreements --accept-source-agreements --disable-interactivity | Out-Null
|
||||
$lines.Add("Installed TigerVNC viewer through winget, if winget completed successfully.")
|
||||
} else {
|
||||
$lines.Add("winget not found; skipped TigerVNC viewer install.")
|
||||
}
|
||||
} else {
|
||||
$lines.Add("TigerVNC viewer already present.")
|
||||
}
|
||||
|
||||
if (-not (Test-Path -LiteralPath $server)) {
|
||||
if (-not (Test-Path -LiteralPath $installer)) {
|
||||
Invoke-WebRequest -Uri $url -OutFile $installer
|
||||
}
|
||||
$actualSha256 = (Get-FileHash -LiteralPath $installer -Algorithm SHA256).Hash
|
||||
if ($actualSha256 -ne $expectedSha256) {
|
||||
throw "TigerVNC server installer SHA256 mismatch: $actualSha256"
|
||||
}
|
||||
Start-Process -FilePath $installer -ArgumentList "/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/SP-" -Wait
|
||||
$lines.Add("Installed TigerVNC WinVNC server 1.16.2 from verified installer.")
|
||||
} else {
|
||||
$lines.Add("TigerVNC WinVNC server already present.")
|
||||
}
|
||||
|
||||
$service = Get-Service TigerVNC -ErrorAction SilentlyContinue
|
||||
if (-not $service -and (Test-Path -LiteralPath $server)) {
|
||||
& $server -register | Out-Null
|
||||
$service = Get-Service TigerVNC -ErrorAction SilentlyContinue
|
||||
}
|
||||
if ($service) {
|
||||
Set-Service TigerVNC -StartupType Automatic
|
||||
Start-Service TigerVNC
|
||||
Ensure-FirewallRule -Name "TigerVNC-Server-In-TCP" -DisplayName "TigerVNC Server (5900)" -Port 5900
|
||||
$lines.Add("TigerVNC service is automatic and started; firewall allows TCP 5900.")
|
||||
} else {
|
||||
$lines.Add("TigerVNC service was not found after install; run winvnc4.exe -register from an elevated shell.")
|
||||
}
|
||||
|
||||
$lines.Add("VNC password/config must be set outside the repository with vncconfig.exe -service; do not store it in Git.")
|
||||
return ($lines -join "`n")
|
||||
}
|
||||
|
||||
function Ensure-RemoteAccessBaseline {
|
||||
$lines = New-Object System.Collections.Generic.List[string]
|
||||
$isElevated = Test-IsElevated
|
||||
$lines.Add("Elevated: $isElevated")
|
||||
|
||||
if (-not $isElevated) {
|
||||
$lines.Add("Skipped system setup because the runner is not elevated. Re-run from an elevated shell or scheduled task with highest privileges.")
|
||||
return ($lines -join "`n")
|
||||
}
|
||||
|
||||
$capability = Get-WindowsCapability -Online -Name "OpenSSH.Server~~~~0.0.1.0" -ErrorAction SilentlyContinue
|
||||
if ($capability -and $capability.State -ne "Installed") {
|
||||
Add-WindowsCapability -Online -Name "OpenSSH.Server~~~~0.0.1.0" | Out-Null
|
||||
$lines.Add("Installed Windows OpenSSH Server capability.")
|
||||
} elseif ($capability) {
|
||||
$lines.Add("Windows OpenSSH Server capability already installed.")
|
||||
} else {
|
||||
$lines.Add("Could not query Windows OpenSSH Server capability; continuing with service checks.")
|
||||
}
|
||||
|
||||
Set-Service sshd -StartupType Automatic
|
||||
Start-Service sshd
|
||||
Set-Service ssh-agent -StartupType Automatic -ErrorAction SilentlyContinue
|
||||
Start-Service ssh-agent -ErrorAction SilentlyContinue
|
||||
Ensure-FirewallRule -Name "OpenSSH-Server-In-TCP" -DisplayName "OpenSSH Server (sshd)" -Port 22
|
||||
$lines.Add("sshd and ssh-agent are automatic/running where available; firewall allows TCP 22.")
|
||||
$lines.Add((Copy-PublicKeysForAdminSsh))
|
||||
$lines.Add((Install-TigerVncServer))
|
||||
|
||||
$sshListen = Get-NetTCPConnection -State Listen -LocalPort 22 -ErrorAction SilentlyContinue
|
||||
$vncListen = Get-NetTCPConnection -State Listen -LocalPort 5900 -ErrorAction SilentlyContinue
|
||||
$lines.Add("Verify: SSH listen=$([bool]$sshListen); VNC listen=$([bool]$vncListen).")
|
||||
return ($lines -join "`n")
|
||||
}
|
||||
|
||||
function Update-Heartbeat {
|
||||
$now = Get-Date -Format "yyyy-MM-dd HH:mm zzz"
|
||||
$os = Get-CimInstance Win32_OperatingSystem
|
||||
|
|
@ -72,8 +212,13 @@ function Update-Heartbeat {
|
|||
|
||||
$rustDesk = Get-Service RustDesk -ErrorAction SilentlyContinue
|
||||
$anyDesk = Get-Service AnyDesk -ErrorAction SilentlyContinue
|
||||
$sshd = Get-Service sshd -ErrorAction SilentlyContinue
|
||||
$sshPort = Get-NetTCPConnection -State Listen -LocalPort 22 -ErrorAction SilentlyContinue
|
||||
$rdp = Get-NetTCPConnection -State Listen -LocalPort 3389 -ErrorAction SilentlyContinue
|
||||
$vnc = Get-NetTCPConnection -State Listen -LocalPort 5900,5901 -ErrorAction SilentlyContinue
|
||||
$tigerViewer = Test-Path "C:\Program Files\TigerVNC\vncviewer.exe"
|
||||
$tigerServer = Test-Path "C:\Program Files\TigerVNC server\winvnc4.exe"
|
||||
$tigerService = Get-Service TigerVNC -ErrorAction SilentlyContinue
|
||||
|
||||
$content = @"
|
||||
# Machine Heartbeat
|
||||
|
|
@ -111,7 +256,9 @@ $($repoRows -join "`n")
|
|||
| Service | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| garage-agent-runner | scheduled | Windows Scheduled Task `garage-agent-runner-$Machine` should run every 5 minutes. |
|
||||
| TigerVNC | viewer installed | `C:\Program Files\TigerVNC\vncviewer.exe`; no TigerVNC server found on Windows package. |
|
||||
| OpenSSH server | $(if ($sshd) { $sshd.Status } else { "not installed" }) | $(if ($sshPort) { "listening on 22" } else { "not listening" }); admin key login may require `C:\ProgramData\ssh\administrators_authorized_keys`. |
|
||||
| TigerVNC viewer | $(if ($tigerViewer) { "installed" } else { "not installed" }) | `C:\Program Files\TigerVNC\vncviewer.exe`. |
|
||||
| TigerVNC server | $(if ($tigerService) { $tigerService.Status } elseif ($tigerServer) { "binary present" } else { "not installed" }) | `C:\Program Files\TigerVNC server\winvnc4.exe`; VNC password is outside this repository. |
|
||||
| TightVNC | not installed | `winget` installer was cancelled at interactive setup step. |
|
||||
| RustDesk | $($rustDesk.Status) | Installed as Windows service; credentials are outside this repository. |
|
||||
| AnyDesk | $($anyDesk.Status) | Installed as Windows service; credentials are outside this repository. |
|
||||
|
|
@ -121,7 +268,7 @@ $($repoRows -join "`n")
|
|||
## Notes
|
||||
|
||||
- GitHub SSH access to `krustophski/agent-knowledge-base` works with local key `id_devman`; private key is not stored in this repository.
|
||||
- Runner accepts only allowlisted command types: `ping`, `inventory`, and `git-status`.
|
||||
- Runner accepts only allowlisted command types: `ping`, `inventory`, `git-status`, and `setup-remote-access`.
|
||||
- Do not store VNC, RustDesk, AnyDesk, camera, SSH private key, or GitHub credentials here.
|
||||
"@
|
||||
|
||||
|
|
@ -204,8 +351,12 @@ $repos
|
|||
$repos = Get-RepositorySummary | Format-Table -AutoSize | Out-String
|
||||
Write-Result -CommandName $CommandFile.BaseName -Status "completed" -Body $repos
|
||||
}
|
||||
"setup-remote-access" {
|
||||
$body = Ensure-RemoteAccessBaseline
|
||||
Write-Result -CommandName $CommandFile.BaseName -Status "completed" -Body $body
|
||||
}
|
||||
default {
|
||||
Write-Result -CommandName $CommandFile.BaseName -Status "rejected" -Body "Unsupported or missing command type $type. Allowed: ping, inventory, git-status."
|
||||
Write-Result -CommandName $CommandFile.BaseName -Status "rejected" -Body "Unsupported or missing command type $type. Allowed: ping, inventory, git-status, setup-remote-access."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
## Known Machines
|
||||
|
||||
- `current-codex-mac.md` - current Codex desktop environment.
|
||||
- `pump.md` - planned main simulator computer for the `garage` project.
|
||||
- `pump.md` - planned main simulator computer for the `garage` project; OpenSSH Server and TigerVNC Server are configured.
|
||||
- `proxmox-192-168-1-60.md` - Proxmox host or web console endpoint at `192.168.1.60:8006`.
|
||||
- `project-repos-192-168-1-66.md` - source computer with local project repositories at `192.168.1.66`.
|
||||
- `qore.md` - Windows source/work computer observed both locally and from `pump` through `\\qore\C`; GitHub SSH, RustDesk/AnyDesk, TigerVNC viewer, and `garage-agent-runner` are documented.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
## Observed On
|
||||
|
||||
- Date: 2026-05-24 14:40 Europe/Moscow
|
||||
- Date: 2026-05-24 15:35 Europe/Moscow
|
||||
- Source: local Codex session running on `PUMP`
|
||||
- Windows account observed: `pump\post`
|
||||
|
||||
|
|
@ -79,7 +79,21 @@
|
|||
- audio endpoints named `Webcam 1` through `Webcam 4`
|
||||
- No physical USB webcam was clearly identified during this inventory.
|
||||
- `ffmpeg`, `ffprobe`, and `vlc` were not found in PATH.
|
||||
- VNC/TigerVNC: no VNC server, process, service, installed program, or listening port `5900-5910` was detected.
|
||||
- TigerVNC viewer installed:
|
||||
- package: `TigerVNC.TigerVNC`
|
||||
- version: `1.16.2`
|
||||
- path: `C:\Program Files\TigerVNC\vncviewer.exe`
|
||||
- TigerVNC WinVNC server installed from the TigerVNC `1.16.2` Windows server installer:
|
||||
- installer: `tigervnc64-winvnc-1.16.2.exe`
|
||||
- SHA256 verified locally: `32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16`
|
||||
- server path: `C:\Program Files\TigerVNC server\winvnc4.exe`
|
||||
- config path: `C:\Program Files\TigerVNC server\vncconfig.exe`
|
||||
- service: `TigerVNC`, automatic/running as LocalSystem
|
||||
- listener: TCP `5900` on `0.0.0.0` and `::`
|
||||
- firewall rule: `TigerVNC-Server-In-TCP`, enabled
|
||||
- RFB handshake observed: `RFB 003.008`, security types `VeNCrypt,VNCAuth`; unauthenticated `None` was not advertised.
|
||||
- VNC password/config is intentionally not stored in this repository. Use `vncconfig.exe -service` interactively if password/config must be changed.
|
||||
- UltraVNC `1.8.2.2` is also installed at `C:\Program Files\uvnc bvba\UltraVNC` from an earlier fallback attempt, but no UltraVNC endpoint is configured or preferred for garage unless explicitly chosen later.
|
||||
|
||||
## SSH, GitHub, Git, And Agent Setup
|
||||
|
||||
|
|
@ -88,8 +102,16 @@
|
|||
- Git credential helper: system `manager`
|
||||
- GitHub CLI `gh`: not found in PATH.
|
||||
- OpenSSH client installed: OpenSSH_for_Windows_9.5p2
|
||||
- `ssh-agent`: service exists but was stopped and disabled.
|
||||
- `sshd`: no OpenSSH server command/service/listening port was found during inventory.
|
||||
- OpenSSH Server installed after inventory:
|
||||
- `sshd`: running, automatic
|
||||
- `ssh-agent`: running, automatic
|
||||
- listener: TCP `22` on `0.0.0.0` and `::`
|
||||
- firewall rule: `OpenSSH-Server-In-TCP`, enabled
|
||||
- Windows admin SSH key fix applied: public keys were copied to `C:\ProgramData\ssh\administrators_authorized_keys` with restricted ACLs because the default `Match Group administrators` block uses that file.
|
||||
- SSH key login verified:
|
||||
- `post@localhost` returned `PUMP`
|
||||
- `post@192.168.1.39` returned `PUMP`
|
||||
- Local SSH private keys remain outside the repository.
|
||||
- GitHub SSH now authenticates as `krustophski` using the local key `C:\Users\post\.ssh\github_pump_agent_knowledge_base_ed25519`.
|
||||
- Direct HTTPS clone of `krustophski/agent-knowledge-base` from this session returned GitHub `Repository not found` before SSH was configured.
|
||||
- GitHub connector also returned `NOT_FOUND` for `krustophski/agent-knowledge-base` before SSH was configured.
|
||||
|
|
@ -215,7 +237,7 @@ Do not run broad staging in these repositories. Their root `AGENTS.md` files exp
|
|||
|
||||
## Current Blockers
|
||||
|
||||
- `pump` has no detected VNC/TigerVNC endpoint.
|
||||
- TigerVNC server is installed and listening on `5900`, but a full remote-client login still needs to be verified with the VNC password kept outside this repository.
|
||||
- No physical camera has been verified for external environment analysis.
|
||||
- Projectors are not currently detected as displays.
|
||||
- Exact pedals/gearbox/plow joystick state is not verified.
|
||||
|
|
|
|||
|
|
@ -114,6 +114,10 @@ Observed locally on 2026-05-24:
|
|||
- version observed by winget: `1.16.2`
|
||||
- path: `C:\Program Files\TigerVNC\vncviewer.exe`
|
||||
- No TigerVNC server binary or service was found in the Windows package.
|
||||
- On 2026-05-24, `pump` verified a TigerVNC WinVNC server setup procedure in `skills/windows-remote-access-baseline.md`.
|
||||
- Command queued for `qore`: `agent-bus/commands/qore/2026-05-24-setup-remote-access.md`.
|
||||
- If the runner has elevation, it should install/verify OpenSSH Server, copy public keys to `C:\ProgramData\ssh\administrators_authorized_keys`, install TigerVNC WinVNC server, and open TCP `22`/`5900`.
|
||||
- If the runner is not elevated, run the baseline from an elevated local PowerShell/Codex session.
|
||||
- TightVNC server package was attempted through `winget`:
|
||||
- package: `GlavSoft.TightVNC`
|
||||
- version: `2.8.87`
|
||||
|
|
@ -218,8 +222,9 @@ No physical camera frame capture was verified during setup.
|
|||
## Open Items
|
||||
|
||||
- Reconcile the local `C:\Users\post\vscode\kam\KaMaz` repo with the mapped-share `C:\git\Kamaz_Cleaner` and `C:\Kamaz\Kamaz_Cleaner` paths.
|
||||
- Finish VNC server setup only after the user chooses credentials outside the repository.
|
||||
- Finish SSH key-login setup by writing `id_devman.pub` to `C:\ProgramData\ssh\administrators_authorized_keys` from an elevated shell, or use Windows password login.
|
||||
- Let the queued `setup-remote-access` command try the pump-verified OpenSSH/TigerVNC baseline; if it reports missing elevation, run `skills/windows-remote-access-baseline.md` from an elevated local shell.
|
||||
- Finish SSH key-login setup by writing public keys to `C:\ProgramData\ssh\administrators_authorized_keys` from an elevated shell; do not store private keys.
|
||||
- Finish VNC password setup with `vncconfig.exe -service`; do not store the password.
|
||||
- Verify whether RustDesk, AnyDesk, or RDP is acceptable instead of VNC for remote control.
|
||||
- Verify the first scheduled runner update after a full 5-minute interval.
|
||||
- Verify camera frame capture if physical visual access is needed.
|
||||
|
|
|
|||
|
|
@ -62,6 +62,9 @@
|
|||
|
||||
- VNC/TigerVNC: TigerVNC viewer is installed at `C:\Program Files\TigerVNC\vncviewer.exe`.
|
||||
- VNC server: not configured. The TigerVNC winget package installed only the viewer on Windows; no server service/listener was found.
|
||||
- On 2026-05-24, `pump` verified a TigerVNC WinVNC server setup procedure in `skills/windows-remote-access-baseline.md`.
|
||||
- Command queued for `wuu`: `agent-bus/commands/wuu/2026-05-24-setup-remote-access.md`.
|
||||
- If no runner is active on `wuu`, the next local agent should run the Windows remote-access baseline from an elevated shell and keep SSH/VNC credentials outside this repository.
|
||||
- Camera/capture devices:
|
||||
- `AV TO USB2.0`, class `Camera`, status `Unknown`, USB device `VID_534D&PID_0021`.
|
||||
- `Logi C270 HD WebCam`, class `Camera`, status `OK`.
|
||||
|
|
@ -123,7 +126,7 @@
|
|||
|
||||
## Current Gaps
|
||||
|
||||
- No VNC server endpoint configured yet; only TigerVNC viewer is installed.
|
||||
- No VNC server endpoint configured yet on `wuu`; the OpenSSH/TigerVNC baseline is queued for local/elevated execution.
|
||||
- `AV TO USB2.0` capture is not usable yet from DirectShow/ffmpeg.
|
||||
- No local `garage` simulator implementation repository was found on this machine beyond projection/calibration work.
|
||||
- `ProjectionMapping-master` is not a normal git repository, so history/branch/remote are unavailable there.
|
||||
|
|
|
|||
|
|
@ -33,14 +33,18 @@ The Windows TigerVNC winget package provides the TigerVNC viewer, not a Windows
|
|||
|
||||
Use TigerVNC on Windows as a viewer for connecting to other VNC endpoints.
|
||||
|
||||
For controlling the Windows machine itself, choose one of:
|
||||
For controlling the Windows machine itself, `pump` verified a TigerVNC server path on 2026-05-24:
|
||||
|
||||
- Windows RDP, if acceptable for the workflow.
|
||||
- TightVNC server (`GlavSoft.TightVNC`) if a VNC server is specifically required.
|
||||
- UltraVNC server (`uvncbvba.UltraVNC`) if TightVNC is unsuitable.
|
||||
- Download `tigervnc64-winvnc-1.16.2.exe` from the official TigerVNC SourceForge release.
|
||||
- Verify SHA256 `32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16`.
|
||||
- Install the server; verify `C:\Program Files\TigerVNC server\winvnc4.exe`.
|
||||
- Verify service `TigerVNC` and listener TCP `5900`.
|
||||
- Configure the VNC password outside the repository with `vncconfig.exe -service`.
|
||||
|
||||
Do not enable a VNC server without setting credentials outside the repository. Never store VNC passwords in the knowledge base.
|
||||
|
||||
See `skills/windows-remote-access-baseline.md` for the current repeatable Windows procedure.
|
||||
|
||||
## Verification
|
||||
|
||||
After installing TigerVNC on `wuu`:
|
||||
|
|
|
|||
54
problems/2026-05-24-windows-openssh-admin-authorized-keys.md
Normal file
54
problems/2026-05-24-windows-openssh-admin-authorized-keys.md
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Windows OpenSSH Admin Users Need ProgramData Authorized Keys
|
||||
|
||||
## Symptoms
|
||||
|
||||
On `pump`, OpenSSH Server was installed, running, and listening on TCP `22`, but key login failed:
|
||||
|
||||
```text
|
||||
Permission denied (publickey,password,keyboard-interactive).
|
||||
```
|
||||
|
||||
The public key existed in `C:\Users\post\.ssh\authorized_keys`.
|
||||
|
||||
## Root Cause
|
||||
|
||||
The default Windows OpenSSH config contains:
|
||||
|
||||
```text
|
||||
Match Group administrators
|
||||
AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
|
||||
```
|
||||
|
||||
For a local administrator account such as `post`, `sshd` checks `C:\ProgramData\ssh\administrators_authorized_keys` instead of the user profile file.
|
||||
|
||||
## Fix
|
||||
|
||||
From an elevated PowerShell:
|
||||
|
||||
```powershell
|
||||
$adminKeys = "$env:ProgramData\ssh\administrators_authorized_keys"
|
||||
New-Item -ItemType Directory -Force -Path (Split-Path $adminKeys) | Out-Null
|
||||
Get-Content "$env:USERPROFILE\.ssh\authorized_keys" | Set-Content $adminKeys -Encoding ascii
|
||||
icacls $adminKeys /inheritance:r
|
||||
icacls $adminKeys /grant "SYSTEM:F" "Administrators:F"
|
||||
icacls $adminKeys /remove "Users" "Authenticated Users" "Everyone"
|
||||
Restart-Service sshd
|
||||
```
|
||||
|
||||
Copy only public keys. Never commit private keys.
|
||||
|
||||
## Verification
|
||||
|
||||
On `pump`, after this fix:
|
||||
|
||||
```powershell
|
||||
ssh -i C:\Users\post\.ssh\pump_local_ssh_ed25519 -o IdentitiesOnly=yes -o BatchMode=yes post@localhost hostname
|
||||
ssh -i C:\Users\post\.ssh\pump_local_ssh_ed25519 -o IdentitiesOnly=yes -o BatchMode=yes post@192.168.1.39 hostname
|
||||
```
|
||||
|
||||
Both returned `PUMP`.
|
||||
|
||||
## Related Files
|
||||
|
||||
- `skills/windows-remote-access-baseline.md`
|
||||
- `locations/pump.md`
|
||||
|
|
@ -33,12 +33,18 @@ The installer downloaded and verified, but ended with exit code `1602` because t
|
|||
|
||||
## Solution
|
||||
|
||||
For Windows machines, treat `TigerVNC.TigerVNC` as a viewer unless a server binary is separately verified. If a VNC server is required:
|
||||
For Windows machines, treat `TigerVNC.TigerVNC` as a viewer unless a server binary is separately verified.
|
||||
|
||||
1. Install TightVNC or another Windows VNC server interactively.
|
||||
2. Configure the VNC password outside the repository.
|
||||
3. Verify a listening VNC endpoint on port `5900` or the selected port.
|
||||
4. Document only non-secret endpoint details in `locations/<machine>.md`.
|
||||
TigerVNC server path verified on `pump` on 2026-05-24:
|
||||
|
||||
1. Install `tigervnc64-winvnc-1.16.2.exe` from the official TigerVNC SourceForge release.
|
||||
2. Verify SHA256 `32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16`.
|
||||
3. Confirm `C:\Program Files\TigerVNC server\winvnc4.exe` and service `TigerVNC`.
|
||||
4. Configure the VNC password outside the repository with `vncconfig.exe -service`.
|
||||
5. Verify a listening VNC endpoint on port `5900`.
|
||||
6. Document only non-secret endpoint details in `locations/<machine>.md`.
|
||||
|
||||
The repeatable procedure is now in `skills/windows-remote-access-baseline.md`.
|
||||
|
||||
## Verification
|
||||
|
||||
|
|
@ -51,4 +57,6 @@ On `qore`, after TigerVNC install:
|
|||
## Related Files
|
||||
|
||||
- `locations/qore.md`
|
||||
- `locations/pump.md`
|
||||
- `skills/remote-visual-access.md`
|
||||
- `skills/windows-remote-access-baseline.md`
|
||||
|
|
|
|||
|
|
@ -15,3 +15,4 @@ Current entries:
|
|||
- `2026-05-24-kamaz-cleaner-agents-md-truncated.md`
|
||||
- `2026-05-24-pump-kamaz-remote-credential-like-userinfo.md`
|
||||
- `2026-05-24-windows-tigervnc-viewer-only.md`
|
||||
- `2026-05-24-windows-openssh-admin-authorized-keys.md`
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
# Garage Agent Log
|
||||
|
||||
## 2026-05-24 - pump SSH And TigerVNC Baseline
|
||||
|
||||
- Machine: `pump`.
|
||||
- Agent: Codex.
|
||||
- Summary: Installed and verified the Windows remote-access baseline on `pump`: OpenSSH Server and `ssh-agent` running automatically, SSH key login working for `post@localhost` and `post@192.168.1.39`, TigerVNC viewer `1.16.2`, and TigerVNC WinVNC server `1.16.2` running as service `TigerVNC` on TCP `5900`.
|
||||
- Files changed: Updated `locations/pump.md`, `agent-bus/heartbeats/pump.md`, garage status/computers/orchestration/spec docs, `skills/remote-visual-access.md`, added `skills/windows-remote-access-baseline.md`, updated TigerVNC/OpenSSH problem notes, and queued `setup-remote-access` commands for `qore` and `wuu`.
|
||||
- Verified: `sshd` listens on TCP `22`; TigerVNC listens on TCP `5900`; GitHub SSH still authenticates as `krustophski`; no VNC/SSH private credentials were stored in the repository.
|
||||
- Next handoff: Re-test `pump` from `wuu`; let `qore` process the queued setup command; install the same baseline on `wuu`; verify full TigerVNC login with credentials kept outside Git.
|
||||
|
||||
## 2026-05-24 - wuu Camera, VNC, qore/pump Reachability, ProjectionMapping Webcam Baseline
|
||||
|
||||
- Machine: `wuu`.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Track the computers that contain scattered parts of the `garage` auto-simulator
|
|||
- Expected runtime computer: `pump`.
|
||||
- `pump` was locally inventoried on 2026-05-24 and is a strong fit for final runtime hardware: Windows 10 Pro, RTX 5090, i9-14900K, MOZA devices, NDI tools, and Unreal 5.7 installed.
|
||||
- `pump` currently has only one active 1920x1080 display detected; the required two projectors were not detected during inventory.
|
||||
- `pump` now has working GitHub SSH push access for `agent-knowledge-base`; VNC/TigerVNC server and physical camera are still not verified.
|
||||
- `pump` now has working GitHub SSH push access for `agent-knowledge-base`, OpenSSH Server on TCP `22`, and TigerVNC Server on TCP `5900`; physical camera is still not verified.
|
||||
- `qore` was partially observed from `pump` through `A:` mapped to `\\qore\C`.
|
||||
- `qore` was also inventoried locally enough to verify GitHub SSH, RustDesk/AnyDesk, RDP, TigerVNC viewer, and the `garage-agent-runner` scheduled task.
|
||||
- `wuu` has been inventoried as a Windows source/work computer with local ProjectionMapping calibration work.
|
||||
|
|
@ -23,7 +23,7 @@ Track the computers that contain scattered parts of the `garage` auto-simulator
|
|||
|
||||
| Name | Role | OS | Access Method | Local Repositories | Status |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| pump | expected final runtime computer; also source computer for existing project parts | Windows 10 Pro | local Codex session; IP `192.168.1.39`; mapped shares `A:` -> `\\qore\C`, `B:` -> `\\wuu\C`; GitHub SSH push works as `krustophski`; from `wuu`, SMB open but share access denied and SSH closed | `C:\git\Kamaz_Cleaner`, `C:\Kamaz\Kamaz_Cleaner`, `C:\Users\post\Documents\Unreal Projects\Kamaz_Cleaner`, nested Autonomix plugin repos, `MyProject8`; knowledge-base accessed through `B:\git\agent-knowledge-base` | inventoried on 2026-05-24; RTX 5090 and MOZA bases found; NDI 6 Tools installed; VNC not found; projectors not detected |
|
||||
| pump | expected final runtime computer; also source computer for existing project parts | Windows 10 Pro | local Codex session; IP `192.168.1.39`; mapped shares `A:` -> `\\qore\C`, `B:` -> `\\wuu\C`; GitHub SSH push works as `krustophski`; OpenSSH Server listens on `22`; TigerVNC Server listens on `5900` | `C:\git\Kamaz_Cleaner`, `C:\Kamaz\Kamaz_Cleaner`, `C:\Users\post\Documents\Unreal Projects\Kamaz_Cleaner`, nested Autonomix plugin repos, `MyProject8`; knowledge-base accessed through `B:\git\agent-knowledge-base` | inventoried and remote-access baseline installed on 2026-05-24; RTX 5090 and MOZA bases found; NDI 6 Tools installed; projectors not detected; physical camera not verified |
|
||||
| qore | source/work computer for garage project parts | Windows 11 Pro | local Codex session; GitHub SSH works as `krustophski`; IP `192.168.1.126` on Ethernet; RustDesk/AnyDesk services running; RDP listening on 3389; from `wuu`, LAN `192.168.1.126`, VPN `10.8.1.38`, SMB/RDP open and SSH closed | local: `C:\Users\post\vscode\kam\KaMaz`, two `facecap_setup_tool` clones; mapped from `pump`: `A:\git\Kamaz_Cleaner`, `A:\Kamaz\Kamaz_Cleaner`, `A:\Kamaz\Kamaz_Cleaner\Plugins\Autonomix`; from `wuu`, `\\qore\C\git\Kamaz_Cleaner` visible; local `StereoWallND` exists but user clarified it is not current on this machine | setup and partial local inventory on 2026-05-24; TigerVNC viewer installed, no VNC server verified; `garage-agent-runner-qore` scheduled task installed |
|
||||
| wuu | source/work computer for garage project parts; contains ProjectionMapping calibration work | Windows 10 Pro | local Codex session; GitHub SSH works as `krustophski`; IP `192.168.1.192` on Ethernet 2; also visible from `pump` as `B:` -> `\\wuu\C` | `C:\git\ProjectionMapping`, `C:\git\ProjectionMapping-master`, `C:\git\ProjectionMapping-webcam`, `C:\git\agent-knowledge-base` | inventoried on 2026-05-24; TigerVNC viewer installed but no server; Logi webcam verified; AV capture not usable yet |
|
||||
| proxmox-192-168-1-60 | Proxmox host `prxmx`; contains LXC `git-stereowallnd` | Proxmox 9.1.11 | `https://192.168.1.60:8006`, root known outside repo | VMID 101 contains project repo source computer | reachable, needs VM/container inventory |
|
||||
|
|
@ -67,13 +67,13 @@ Track the computers that contain scattered parts of the `garage` auto-simulator
|
|||
- Add root `AGENTS.md` files to nested Autonomix plugin repos if they will be developed directly.
|
||||
- Connect and document the two projectors on `pump`.
|
||||
- Verify exact MOZA pedals/gearbox/plow joystick devices and input mappings on `pump`.
|
||||
- Configure or document VNC/TigerVNC on `pump` if remote desktop control is desired.
|
||||
- Verify full remote TigerVNC login to `pump` with the VNC password kept outside the repository.
|
||||
- Add or verify a physical camera/webcam path for external environment/projection analysis on `pump`.
|
||||
- Reconcile `qore` local paths with the paths observed from `pump` through `A:` mapped to `\\qore\C`.
|
||||
- Verify the first scheduled `garage-agent-runner-qore` heartbeat update after a full 5-minute interval.
|
||||
- Finish VNC server setup on `qore` only after credentials are chosen outside the repository, or accept RustDesk/AnyDesk/RDP as the remote-control path.
|
||||
- Let the `qore` agent-runner process `agent-bus/commands/qore/2026-05-24-setup-remote-access.md`, or run the Windows remote-access baseline from an elevated local shell.
|
||||
- From `wuu`, consider controlling `qore` through RDP first because RDP `3389` is open and SSH `22` is closed.
|
||||
- Decide whether to install a Windows VNC server on `wuu`; TigerVNC winget package installed only a viewer.
|
||||
- Install the same Windows remote-access baseline on `wuu` using `agent-bus/commands/wuu/2026-05-24-setup-remote-access.md` or an elevated local agent.
|
||||
- Clone or inspect `/srv/git/StereoWallND.git` and `/srv/git/Kamaz_Cleaner.git` as `airM1`.
|
||||
- Add missing root `AGENTS.md` to `Kamaz_Cleaner` before active development.
|
||||
- Document SSH access and roles for `pump`; `wuu` and `qore` local/GitHub access are documented in `locations/`.
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ Use:
|
|||
|
||||
| Machine | Role | Access | Status |
|
||||
| --- | --- | --- | --- |
|
||||
| pump | expected final simulator runtime computer; local inventory completed | local Codex session; IP `192.168.1.39`; heartbeat `agent-bus/heartbeats/pump.md`; GitHub SSH push works as `krustophski`; from `wuu`, SMB open but share access denied and SSH closed | inventory started; needs VNC/camera/projector verification |
|
||||
| qore | source/work computer | partially visible from `pump` as `A:` -> `\\qore\C`; from `wuu`, LAN `192.168.1.126`, VPN `10.8.1.38`, SMB/RDP open, SSH closed | mapped-share inventory started; needs local setup |
|
||||
| wuu | source/work computer with ProjectionMapping calibration work | local Codex session; GitHub SSH works as `krustophski`; heartbeat `agent-bus/heartbeats/wuu.md` | inventory started; TigerVNC viewer installed |
|
||||
| pump | expected final simulator runtime computer; local inventory completed | local Codex session; IP `192.168.1.39`; heartbeat `agent-bus/heartbeats/pump.md`; GitHub SSH push works as `krustophski`; OpenSSH Server on `22`; TigerVNC Server on `5900` | remote-access baseline installed; needs camera/projector verification and full VNC login test |
|
||||
| qore | source/work computer | partially visible from `pump` as `A:` -> `\\qore\C`; from `wuu`, LAN `192.168.1.126`, VPN `10.8.1.38`, SMB/RDP open; local runner active | runner command queued to install/verify OpenSSH/TigerVNC baseline; may need elevation |
|
||||
| wuu | source/work computer with ProjectionMapping calibration work | local Codex session; GitHub SSH works as `krustophski`; heartbeat `agent-bus/heartbeats/wuu.md` | TigerVNC viewer installed; remote-access baseline command queued |
|
||||
| git-stereowallnd | LXC with bare Git repositories | SSH `airM1@192.168.1.66` | reachable |
|
||||
|
||||
## Required Per-Machine Setup
|
||||
|
|
@ -35,6 +35,7 @@ Each of `wuu`, `qore`, and `pump` should have:
|
|||
- optional cameras/webcams documented in `locations/`;
|
||||
- local `AGENTS.md` in each active repository;
|
||||
- heartbeat file in `agent-bus/heartbeats/`.
|
||||
- Windows machines should follow `skills/windows-remote-access-baseline.md`: OpenSSH Server on TCP `22`, TigerVNC Server on TCP `5900`, firewall rules, and credentials stored only outside Git.
|
||||
|
||||
## Control Model
|
||||
|
||||
|
|
@ -55,14 +56,14 @@ For durable async tasks:
|
|||
|
||||
## Initial Tasks
|
||||
|
||||
- Document remote SSH access for `wuu` if it should be controlled from another machine; local GitHub SSH access is verified.
|
||||
- Decide whether to enable SSH on `qore`, or use RDP first because port `3389` is open from `wuu`.
|
||||
- Decide whether to enable SSH on `pump`; from `wuu`, port `22` is closed.
|
||||
- Re-check `pump` from `wuu`; `pump` now listens on SSH `22` and TigerVNC `5900` locally.
|
||||
- Let `qore` process `agent-bus/commands/qore/2026-05-24-setup-remote-access.md`; if the runner is not elevated, rerun from an elevated shell.
|
||||
- Install the same baseline on `wuu` from `agent-bus/commands/wuu/2026-05-24-setup-remote-access.md`.
|
||||
- Create heartbeat files for all three machines; `pump` and `wuu` now have heartbeats, `qore` still needs one from a local inventory.
|
||||
- Keep `pump` GitHub SSH key available outside the repository and use local `core.sshCommand` for `B:\git\agent-knowledge-base`.
|
||||
- Decide whether `garage-agent-runner` should be a systemd service, launchd job, scheduled task, or manual tmux workflow on each OS.
|
||||
- Inventory local repositories on each machine.
|
||||
- Install/document VNC and camera access where useful.
|
||||
- Install/document VNC and camera access where useful; never store VNC/camera credentials.
|
||||
|
||||
## Safety
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Build and finish the garage auto-simulator setup by consolidating scattered proj
|
|||
- `pump` currently has only one active display detected; the required two-projector setup was not detected during inventory.
|
||||
- `pump` has NDI 6 Tools installed, including NDI Webcam and Studio Monitor tools.
|
||||
- `pump` has MOZA R12 Base and MOZA AB9 FFB Base detected; pedals, gearbox, and plow joystick are not separately verified yet.
|
||||
- No VNC/TigerVNC service/process/listening port was detected on `pump`.
|
||||
- `pump` now has OpenSSH Server running on TCP `22` and TigerVNC Server running on TCP `5900`.
|
||||
- No physical camera/webcam was clearly identified on `pump`; only NDI virtual webcam devices were observed.
|
||||
- GitHub push from `pump` now works for `agent-knowledge-base` using a dedicated local SSH key and repository-local `core.sshCommand`.
|
||||
- `pump` sees `A:` mapped to `\\qore\C` and `B:` mapped to `\\wuu\C`.
|
||||
|
|
@ -28,10 +28,10 @@ Build and finish the garage auto-simulator setup by consolidating scattered proj
|
|||
- `wuu` has a live verified `Logi C270 HD WebCam` feed; `AV TO USB2.0` is detected by PnP but not available through ffmpeg DirectShow and appears unusable until driver/signal is fixed.
|
||||
- TigerVNC viewer is installed on `wuu`; no VNC server is configured because the Windows TigerVNC package is viewer-only.
|
||||
- From `wuu`, `qore` is reachable by LAN/VPN with SMB and RDP open but SSH closed.
|
||||
- From `wuu`, `pump` is reachable on LAN with SMB open but share access denied and SSH closed.
|
||||
- From `wuu`, `pump` was previously reachable on LAN with SMB open but share access denied and SSH closed; re-check is needed because SSH was enabled later on `pump`.
|
||||
- `192.168.1.66` contains bare repositories `/srv/git/StereoWallND.git` and `/srv/git/Kamaz_Cleaner.git`.
|
||||
- `qore` has GitHub SSH access to `agent-knowledge-base`; `agent-bus/heartbeats/qore.md` and a Windows `garage-agent-runner` script were added.
|
||||
- `qore` has RustDesk and AnyDesk services running, RDP listening on port `3389`, and TigerVNC viewer installed. No VNC server endpoint is verified.
|
||||
- `qore` has RustDesk and AnyDesk services running, RDP listening on port `3389`, and TigerVNC viewer installed. No VNC server endpoint is verified yet; a `setup-remote-access` bus command is queued.
|
||||
- On `qore`, the `winget` TigerVNC package installed only `vncviewer.exe`; TightVNC server install was attempted but cancelled at its interactive setup step.
|
||||
- The broader goal is to finish the auto-simulators, not only document the snow-removal truck prototype.
|
||||
- Driving hardware includes Moza wheel, Moza pedals, and Moza gearbox.
|
||||
|
|
@ -60,14 +60,15 @@ The first useful version should probably be a small playable prototype:
|
|||
- Repair the truncated-looking root `AGENTS.md` in the chosen `Kamaz_Cleaner` working copy.
|
||||
- Connect and document the two projectors on `pump`, including display topology, resolution, refresh rate, and stereo `top/bottom` output path.
|
||||
- Verify exact MOZA pedals, gearbox, and plow joystick devices on `pump`.
|
||||
- Configure or document VNC/TigerVNC on `pump` if remote desktop control is desired.
|
||||
- Verify full remote TigerVNC login to `pump` with the VNC password kept outside the repository.
|
||||
- Add or verify a physical camera/webcam path for external environment/projection analysis on `pump`.
|
||||
- Reconcile `qore` local inventory with the earlier mapped-share inventory from `pump`.
|
||||
- Continue ProjectionMapping webcam/manual calibration work from `C:\git\ProjectionMapping-webcam`, not directly from the old Kinect experimental tree.
|
||||
- Verify `AV TO USB2.0` physical signal/driver if that capture path is required; otherwise use the verified Logitech webcam.
|
||||
- Continue inventory of existing repositories and keep `projects/garage/repositories.md` current.
|
||||
- Continue inventory of simulator-related repositories/projects on `qore` and `pump`; `wuu` inventory is started.
|
||||
- Finish VNC server setup on `qore` only after credentials are chosen outside the repository, or accept RustDesk/AnyDesk/RDP as the remote-control path.
|
||||
- Let `qore` process `agent-bus/commands/qore/2026-05-24-setup-remote-access.md`; if elevation is missing, run the baseline from an elevated local shell.
|
||||
- Install the same OpenSSH/TigerVNC baseline on `wuu` using `agent-bus/commands/wuu/2026-05-24-setup-remote-access.md` or a local elevated agent.
|
||||
- Decide which projects should be merged, preserved, archived, or rewritten.
|
||||
- Decide whether ProjectionMapping webcam/manual calibration work should continue from `C:\git\ProjectionMapping-master` or be replaced by Unreal/nDisplay tooling from `StereoWallND`.
|
||||
- Create a first technical plan for truck movement, snow representation, clearing mechanics, input mapping, projection, and NDI mirror feeds.
|
||||
|
|
@ -80,12 +81,12 @@ The first useful version should probably be a small playable prototype:
|
|||
- Merge/consolidation strategy for scattered projects is not selected.
|
||||
- Authoritative `Kamaz_Cleaner` working tree is not selected.
|
||||
- `pump` projectors are not currently detected.
|
||||
- `pump` VNC/TigerVNC is not configured or not detected.
|
||||
- `pump` TigerVNC is installed and listening, but full remote-client login has not yet been verified.
|
||||
- `pump` physical camera access is not verified.
|
||||
- `qore` still needs full local inventory.
|
||||
- SSH is closed on `qore` and `pump` from `wuu`.
|
||||
- SSH was closed on `qore` and `pump` from `wuu` during the earlier check; `pump` should be re-tested from `wuu` after enabling OpenSSH Server.
|
||||
- `AV TO USB2.0` capture is not usable yet through DirectShow/ffmpeg.
|
||||
- No VNC server is configured on `wuu`; TigerVNC installed only the viewer.
|
||||
- No VNC server is configured on `wuu`; TigerVNC installed only the viewer and a baseline install command is queued.
|
||||
- Plow joystick hardware not ready or not detected; wiring/state pending.
|
||||
- NDI tablet receiver setup not selected.
|
||||
- `StereoWallND` documentation may contain embedded camera credentials and needs redaction/rotation before broader reuse.
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ The simulator must support:
|
|||
- The final simulator runtime computer is expected to be `Pump` unless a later decision changes this.
|
||||
- The current next phase is discovery and consolidation: identify machines, local repositories, project roles, and what can be reused.
|
||||
- `pump` has now been locally inventoried as a Windows 10 Pro runtime candidate with RTX 5090, i9-14900K, Unreal 5.7, NDI 6 Tools, and MOZA R12 / MOZA AB9 devices detected.
|
||||
- `pump` now has GitHub SSH push access for `agent-knowledge-base`; projectors, VNC/TigerVNC, and physical camera access are not yet verified.
|
||||
- `pump` now has GitHub SSH push access for `agent-knowledge-base`, OpenSSH Server on TCP `22`, and TigerVNC Server on TCP `5900`; projectors, full VNC login, and physical camera access are not yet verified.
|
||||
- Multiple overlapping `Kamaz_Cleaner` working trees exist on `pump`; the authoritative copy must be chosen before Unreal asset edits or merge work.
|
||||
|
||||
## Data And Assets
|
||||
|
|
@ -149,9 +149,10 @@ The simulator must support:
|
|||
- `wuu` repositories/work copies: `C:\git\ProjectionMapping`, `C:\git\ProjectionMapping-master`, `C:\git\ProjectionMapping-webcam`, `C:\git\agent-knowledge-base`.
|
||||
- `wuu` verified camera feed: `Logi C270 HD WebCam`.
|
||||
- `wuu` problematic capture device: `AV TO USB2.0`, detected by PnP but not visible to ffmpeg DirectShow.
|
||||
- `qore` is reachable from `wuu` over SMB/RDP but not SSH.
|
||||
- `pump` is reachable from `wuu` over LAN SMB, but share access is denied and SSH is closed.
|
||||
- `qore` is reachable from `wuu` over SMB/RDP but SSH was not open during the earlier check.
|
||||
- `pump` was reachable from `wuu` over LAN SMB, but share access was denied and SSH was closed during the earlier check; `pump` OpenSSH Server was enabled afterward and should be re-tested from `wuu`.
|
||||
- Required documentation for each source computer: name, role, OS, network address/access method, connected hardware, local repositories, agent/MCP setup, and which project fragments are stored there.
|
||||
- Windows remote-access baseline for project computers is documented in `skills/windows-remote-access-baseline.md`: OpenSSH Server on TCP `22`, TigerVNC Server on TCP `5900`, and credentials outside Git.
|
||||
|
||||
### Projection
|
||||
|
||||
|
|
@ -206,7 +207,7 @@ The simulator must support:
|
|||
- Identify and document all three source computers.
|
||||
- Inventory local projects and repositories on all three source computers.
|
||||
- Inventory cameras/webcams useful for setup and calibration analysis.
|
||||
- Configure or document VNC access for project computers, preferably TigerVNC where suitable.
|
||||
- Configure or document VNC access for project computers, preferably TigerVNC where suitable; `pump` has the first verified Windows TigerVNC server install.
|
||||
- Set up orchestration for `wuu`, `qore`, and `pump`.
|
||||
- Decide merge strategy for scattered simulator projects.
|
||||
- Confirm the final runtime computer, expected to be `Pump`.
|
||||
|
|
|
|||
|
|
@ -67,7 +67,17 @@ Never store VNC passwords. Store only that credentials exist outside the reposit
|
|||
|
||||
Record OS-specific commands in the target machine's `locations/<machine>.md` after verifying them.
|
||||
|
||||
Windows note verified on `qore` on 2026-05-24: the `winget` package `TigerVNC.TigerVNC` installed `vncviewer.exe` but did not provide a VNC server service or `winvnc.exe`. Treat it as a viewer package unless a server binary is separately verified. If a Windows VNC server is required, install and configure a Windows server package such as TightVNC interactively, keep the password outside this repository, and verify the listening port before documenting the endpoint.
|
||||
Windows note verified on `qore`, `wuu`, and `pump` on 2026-05-24: the `winget` package `TigerVNC.TigerVNC` installs `vncviewer.exe` but does not provide a Windows VNC server service. Treat it as a viewer package unless a server binary is separately verified.
|
||||
|
||||
Windows TigerVNC server note verified on `pump` on 2026-05-24: installing the TigerVNC WinVNC server package `tigervnc64-winvnc-1.16.2.exe` from the TigerVNC SourceForge release produced:
|
||||
|
||||
- server binary: `C:\Program Files\TigerVNC server\winvnc4.exe`;
|
||||
- config binary: `C:\Program Files\TigerVNC server\vncconfig.exe`;
|
||||
- service: `TigerVNC`, automatic/running;
|
||||
- listener: TCP `5900`;
|
||||
- handshake security types: `VeNCrypt` and `VNCAuth`, not `None`.
|
||||
|
||||
Use `skills/windows-remote-access-baseline.md` for the repeatable Windows setup. VNC passwords must be configured outside this repository, normally through `vncconfig.exe -service`, and must not be written to files committed to Git.
|
||||
|
||||
Generic fields to capture:
|
||||
|
||||
|
|
|
|||
97
skills/windows-remote-access-baseline.md
Normal file
97
skills/windows-remote-access-baseline.md
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
# Windows Remote Access Baseline
|
||||
|
||||
## Purpose
|
||||
|
||||
Prepare a Windows `garage` project computer for agent control through SSH and remote desktop through TigerVNC, without storing credentials in Git.
|
||||
|
||||
## Verified Reference
|
||||
|
||||
Verified on `pump` on 2026-05-24:
|
||||
|
||||
- OpenSSH Server installed and running automatically.
|
||||
- SSH listens on TCP `22`.
|
||||
- Key login to `post@localhost` and `post@192.168.1.39` works after adding the public key to `C:\ProgramData\ssh\administrators_authorized_keys`.
|
||||
- TigerVNC viewer `1.16.2` installed at `C:\Program Files\TigerVNC\vncviewer.exe`.
|
||||
- TigerVNC WinVNC server `1.16.2` installed at `C:\Program Files\TigerVNC server\winvnc4.exe`.
|
||||
- TigerVNC service `TigerVNC` runs automatically and listens on TCP `5900`.
|
||||
- TigerVNC handshake advertises `VeNCrypt` and `VNCAuth`, not `None`.
|
||||
|
||||
## OpenSSH Setup
|
||||
|
||||
Run from an elevated PowerShell:
|
||||
|
||||
```powershell
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
||||
Set-Service sshd -StartupType Automatic
|
||||
Start-Service sshd
|
||||
Set-Service ssh-agent -StartupType Automatic
|
||||
Start-Service ssh-agent
|
||||
New-NetFirewallRule -Name OpenSSH-Server-In-TCP -DisplayName "OpenSSH Server (sshd)" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
|
||||
```
|
||||
|
||||
For local administrator accounts, Windows OpenSSH usually ignores `C:\Users\<user>\.ssh\authorized_keys` because the default `sshd_config` has:
|
||||
|
||||
```text
|
||||
Match Group administrators
|
||||
AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
|
||||
```
|
||||
|
||||
Copy only public keys into `C:\ProgramData\ssh\administrators_authorized_keys`, then restrict ACLs:
|
||||
|
||||
```powershell
|
||||
$adminKeys = "$env:ProgramData\ssh\administrators_authorized_keys"
|
||||
New-Item -ItemType Directory -Force -Path (Split-Path $adminKeys) | Out-Null
|
||||
Get-Content "$env:USERPROFILE\.ssh\authorized_keys" | Set-Content $adminKeys -Encoding ascii
|
||||
icacls $adminKeys /inheritance:r
|
||||
icacls $adminKeys /grant "SYSTEM:F" "Administrators:F"
|
||||
icacls $adminKeys /remove "Users" "Authenticated Users" "Everyone"
|
||||
Restart-Service sshd
|
||||
```
|
||||
|
||||
Do not commit private keys.
|
||||
|
||||
## TigerVNC Setup
|
||||
|
||||
The Windows `winget` package `TigerVNC.TigerVNC` installs the viewer only. Install it when the machine needs to connect to other VNC hosts:
|
||||
|
||||
```powershell
|
||||
winget install --id TigerVNC.TigerVNC --exact --accept-package-agreements --accept-source-agreements --disable-interactivity
|
||||
```
|
||||
|
||||
For a Windows VNC server, use the TigerVNC WinVNC installer. Version verified on `pump`:
|
||||
|
||||
```text
|
||||
URL: https://sourceforge.net/projects/tigervnc/files/stable/1.16.2/tigervnc64-winvnc-1.16.2.exe/download
|
||||
SHA256: 32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16
|
||||
```
|
||||
|
||||
Install and start from an elevated PowerShell:
|
||||
|
||||
```powershell
|
||||
$installer = "$env:TEMP\tigervnc64-winvnc-1.16.2.exe"
|
||||
Invoke-WebRequest "https://sourceforge.net/projects/tigervnc/files/stable/1.16.2/tigervnc64-winvnc-1.16.2.exe/download" -OutFile $installer
|
||||
if ((Get-FileHash $installer -Algorithm SHA256).Hash -ne "32070FB778F602CF990439D9BD791B097884C0EB556115112835D714ECB27C16") { throw "TigerVNC installer hash mismatch" }
|
||||
Start-Process $installer -ArgumentList "/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/SP-" -Wait
|
||||
Set-Service TigerVNC -StartupType Automatic
|
||||
Start-Service TigerVNC
|
||||
New-NetFirewallRule -Name TigerVNC-Server-In-TCP -DisplayName "TigerVNC Server (5900)" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 5900
|
||||
```
|
||||
|
||||
Set the VNC password/config interactively outside Git:
|
||||
|
||||
```powershell
|
||||
Start-Process "C:\Program Files\TigerVNC server\vncconfig.exe" -ArgumentList "-service"
|
||||
```
|
||||
|
||||
Do not paste or commit VNC passwords.
|
||||
|
||||
## Verification
|
||||
|
||||
```powershell
|
||||
Get-Service sshd,ssh-agent,TigerVNC
|
||||
Get-NetTCPConnection -State Listen -LocalPort 22,5900
|
||||
ssh -i <PRIVATE_KEY_PATH> -o IdentitiesOnly=yes -o BatchMode=yes post@<HOST_OR_IP> hostname
|
||||
```
|
||||
|
||||
For TigerVNC, verify at minimum that TCP `5900` listens and that the server does not advertise unauthenticated `None` security. A real remote-control verification still requires the VNC password, which must remain outside this repository.
|
||||
|
||||
Reference in a new issue