https://git.useribm.hu
/
user-ssh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57712e
)
Updated updatecerts.sh (added ssh-agent start command).
author
Zoltán Felleg
<zoltan.felleg@userrendszerhaz.hu>
Wed, 2 Jul 2025 19:51:57 +0000
(21:51 +0200)
committer
Zoltán Felleg
<zoltan.felleg@userrendszerhaz.hu>
Wed, 2 Jul 2025 19:51:57 +0000
(21:51 +0200)
updatecerts.sh
patch
|
blob
|
history
diff --git
a/updatecerts.sh
b/updatecerts.sh
index 01fe35e0c1dcd7e92e2b9a104772d304cee08640..d39b7dd3af8464b3f9664b7ceb8a043765f40c3f 100755
(executable)
--- a/
updatecerts.sh
+++ b/
updatecerts.sh
@@
-5,6
+5,7
@@
ssh-add -l | grep --quiet --word-regexp "user-CA"
if [ $? -ne 0 ]
then
echo "user-CA must be added to ssh-agent (ssh-add user-CA)." >&2
+ echo "if it is not running, execute: eval \$(ssh-agent)" >&2
exit 1
fi
CERT_YEAR_QUARTER=$(echo $1 | grep '^20[0-9][0-9]q[1-4]$')