remove token and readd if add not possible
This commit is contained in:
parent
52878eb744
commit
b677438fa8
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ token(){
|
|||
# token -r|-f|--reload-token <identity> will remove token from agent and add it again (if plugged off and plugged in again
|
||||
# startagent -t $@
|
||||
loadagent $@
|
||||
loginfo "$(ssh-add -s $PKCS11_MODULE)"
|
||||
loginfo "$(ssh-add -s $PKCS11_MODULE || { ssh-add -e $PKCS11-MODULE; ssh-add -s $PKCS11_MODULE; } )"
|
||||
loginfo "$(ssh-add -l)"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue