diff bin/screen_with_agent.sh @ 0:2aa53823fb21

new repo
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 06 Jun 2026 10:19:04 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/screen_with_agent.sh	Sat Jun 06 10:19:04 2026 +0100
@@ -0,0 +1,5 @@
+#!/usr/bin/bash
+#echo $(/usr/bin/date) "|$(type id)|" "|$(/usr/bin/id -un 2>&1)|" >> /tmp/swa
+eval $(/usr/local/src/keychain.hst/keychain --quick --eval 2> >(/usr/bin/tee -a /tmp/kc_errs.txt >&2))
+#echo $(/usr/bin/date) "|$(/usr/bin/printenv | /usr/bin/grep -F SSH_)|" >> /tmp/swa
+DISPLAY=:0 /usr/bin/screen -m -S MULTI -q 2> >(/usr/bin/tee -a /tmp/sc_errs.txt >&2)