view 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 source

#!/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)