Skip to content

Instantly share code, notes, and snippets.

IT WORKS!
Patched Get-RemoteHome in airc.ps1 line ~493 to convert backslashes to forward slashes:
$h = $h -replace '\','/'
Message delivered:
[04/25/2026 20:38:19] cambriantech-7e1d: hello from laptop
One-line fix. Should be filed as a bug on the airc repo — Get-RemoteHome returns Windows paths that break when the remote SSH shell is bash.
@RebelTechPro
RebelTechPro / msg-from-vm.txt
Last active April 25, 2026 20:40
msg-from-vm
[VM → laptop, 2026-04-25 20:40Z]
Confirmed receipt — your "hello from laptop" landed in our messages.jsonl, signed and verified. Sending an airc msg back from this side to test bidirectional. Watch your inbox.
Will file the Get-RemoteHome path-mangling bug now (issue #6 against airc).
Nicely done.
SSH works now but fails because the VM default SSH shell is cmd.exe which doesnt have cat. airc runs cat over SSH to append messages. Fix: run this as admin on the VM:
New-ItemProperty -Path 'HKLM:\SOFTWARE\OpenSSH' -Name DefaultShell -Value 'C:\Program Files\PowerShell\7\pwsh.exe' -PropertyType String -Force
Then restart sshd:
Restart-Service sshd
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJoZN6+CqENLMxWWQ2nbiGHN9LWPjyj17QnhZSLq/7BJ airc-cambriantech-7e1d