Compare commits

...

5 commits

Author SHA1 Message Date
Jakobus Schürz
2c03f2aa30 Merge remote-tracking branch 'origin/master' 2023-09-12 08:22:52 +02:00
Jakobus Schürz
b9eba8b40f fix outputs 2023-09-12 08:20:41 +02:00
Jakobus Schürz
a6244e7963 modify charakterset for initial-passwords 2023-09-12 08:13:05 +02:00
Jakobus Schürz
bf9d35fad9 add fe to hetzner-list 2023-09-12 08:08:56 +02:00
Jakobus Schürz
760e792477 add pw-generation alias 2023-09-01 22:01:14 +02:00
2 changed files with 13 additions and 4 deletions

View file

@ -21,6 +21,8 @@ alias umountshared='sudo systemctl stop media-remote-sharefs-userdata.mount'
alias musictag='python3 -m music_tag'
alias nestedwayland='dbus-run-session -- gnome-shell --nested --wayland'
alias xo='xdg-open .'
alias pwgeninitial='tr -dc "/17^.,l|Ii\0OL" </dev/urandom | head -c24'

View file

@ -381,7 +381,18 @@ logdebug "ssh_idendity: ${ssh_identity}"
unset SSH_AUTH_SOCK SSH_AGENT_PID PKCS11_MODULE SSH_AGENT_ALLOW_FROM_REMOTE
ssh_agentfile=$(create_agentfilename)
ssh_socketfile=$(create_socketfilename)
set_and_load_identity_config ${ssh_identity}
sed -i -e '/PKCS11_MODULE/d' ${ssh_agentfile}
if [ -n ${PKCS11_MODULE:+x} ]
then
echo "PKCS11_MODULE=${PKCS11_MODULE}; export PKCS11_MODULE" >> ${ssh_agentfile}
fi
[ -e $ssh_agentfile ] && eval $(<${ssh_agentfile}) >/dev/null
logdebug " PKCS11_MODULE=${PKCS11_MODULE:-not set}"
logdebug " SSH_ADD_OPTIONS=${SSH_ADD_OPTIONS:-not set}"
logdebug "SSH_AGENT_ALLOW_FROM_REMOTE=${SSH_AGENT_ALLOW_FROM_REMOTE:-false}"
logdebug " PKCS11_MODULE=${PKCS11_MODULE:-not set}"
@ -390,10 +401,6 @@ logdebug " SSH_AUTH_SOCK=${SSH_AUTH_SOCK:-not set}"
logdebug " SSH_AUTH_SOCK_REMOTE=${SSH_AUTH_SOCK_REMOTE:-not set}"
logdebug " ssh_idendity=${ssh_identity}"
ssh_agentfile=$(create_agentfilename)
ssh_socketfile=$(create_socketfilename)
[ -e $ssh_agentfile ] && eval $(<$ssh_agentfile) >&2
check_and_link_socket
logdebug "SSH_AGENT_FILE=${ssh_agentfile}"
logdebug " SSH_AGENT_PID=${SSH_AGENT_PID}"