Skip to content

Instantly share code, notes, and snippets.

@arrjay
arrjay / ssh.bash
Created July 10, 2023 22:12
password store extension for ssh wrangles
#!/bin/bash
# Created by argbash-init v2.10.0
# Rearrange the order of options below according to what you would like to see in the help message.
# ARG_OPTIONAL_SINGLE([host],[h],[actual host to connect to],[])
# ARG_OPTIONAL_SINGLE([port],[p],[port number for SSH daemon on actual host],[22])
# ARG_OPTIONAL_SINGLE([labelname],[l],[value of SSH matching label for ProxyCommand use],[])
# ARG_OPTIONAL_SINGLE([agentpath],[A],[path to SSH agent for ProxyCommand use (IdentityAgent)],[])
# ARG_OPTIONAL_SINGLE([exec],[c],[for exec/run/shell, execute command string],[$SHELL -i])
# ARG_OPTIONAL_SINGLE([item],[i],[password item to use],[])
Terminal ready [235/1869]
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.21-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34)
#1642 SMP Mon Apr 3 17:22:30 BST 2023
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PI
@arrjay
arrjay / output.log
Created July 2, 2023 20:46
rock64 okay boot
U-Boot TPL 2022.07-armbian (May 27 2023 - 19:26:49)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Sizeot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2022.07-armbian (May 27 2023 - 19:26:49 +0000)
Trying to boot from MMC1
@arrjay
arrjay / output.log
Created July 2, 2023 20:36
rock64 boot failure
U-Boot TPL 2022.07-armbian (May 27 2023 - 19:26:49)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2022.07-armbian (May 27 2023 - 19:26:49 +0000)
@arrjay
arrjay / output.txt
Created June 17, 2023 02:11
booting openbsd on the ESPRESSObin
TIM-1.0
mv_ddr-devel-g541616b DDR3 16b 1GB 2CS
WTMI-devel-18.12.1-a3e1c67
WTMI: system early-init
CPU VDD voltage default value: 1.108V
Setting clocks: CPU 600 MHz, DDR 600 MHz
CZ.NIC's Armada 3720 Secure Firmware v2022.06.11-9-g604f8f5 (Jun 16 2023 21:46:09)
Running on ESPRESSObin
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.9(release):v2.9.0-178-gbf1e58e73
@arrjay
arrjay / gitconfig
Last active May 20, 2023 16:34
transient ssh agent proxy, loading keys from pass, *and* ssh configuration to trivialize it
[url "s.github.com.arrjay.github.com"]
insteadof = github.com
insteadof = https://github.com/
insteadof = [email protected]
@arrjay
arrjay / and a transcript of it working!
Created May 14, 2023 00:14
coercing proxycommand to get transient ssh agents with a preloaded key from password-store
ssh -v s.github.com.arrjay.github.com
OpenSSH_8.8p1, OpenSSL 3.0.8 7 Feb 2023
debug1: Reading configuration data /home/rjlocal/.ssh/config
debug1: /home/rjlocal/.ssh/config line 7: Applying options for *.github.com
debug1: /home/rjlocal/.ssh/config line 24: Applying options for *
debug1: /home/rjlocal/.ssh/config line 32: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
@arrjay
arrjay / baler.txt
Created December 3, 2022 05:25
inxi -Fxxxamz
System:
Kernel: 6.0.9-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.37-36.fc36
parameters: BOOT_IMAGE=(hd8,gpt2)/vmlinuz-6.0.9-200.fc36.x86_64
root=/dev/mapper/fedora_baler-root ro rd.lvm.lv=fedora_baler/root
rd.luks.uuid=luks-a8f9b218-32f1-43e7-a313-80e947c0809c rhgb quiet
Console: pty pts/4 wm: kwin_wayland DM: 1: GDM v: 42.0 2: SDDM
note: stopped Distro: Fedora release 36 (Thirty Six)
Machine:
Type: Desktop System: Apple product: MacPro5,1 v: 0.0 serial: <filter>
@arrjay
arrjay / gen_mcrew_filealbum.sh
Last active December 27, 2021 20:10
okay, linux script to wrangle files so I can dump them on m-crew
#!/usr/bin/env bash
#set -x
scratchfolder="$(mktemp -d)"
# initially, we created two passes for mono v stereo.
# this proved to be a pain in the ass to keep straight.
# so...everything on the disc is mono.
#mkdir -p "${scratchfolder}/stereo"
#mkdir -p "${scratchfolder}/mono"
@arrjay
arrjay / session.txt
Last active December 11, 2021 16:45
netmdcli disc status
$ ~/src/linux-minidisc/netmdcli/netmdcli capacity
Net MD Walkman
Raw title:
Disc Title: <Untitled>
Recorded: 01:04:47.78
Total: 01:14:59.40
Available: 00:00:00.00
$ ~/src/linux-minidisc/netmdcli/netmdcli
Net MD Walkman