diff --git a/agent/ssh/ssh.go b/agent/ssh/ssh.go index 677ea8a..3f6fcf8 100644 --- a/agent/ssh/ssh.go +++ b/agent/ssh/ssh.go @@ -36,6 +36,8 @@ func (vaultAgent vaultAgent) List() ([]*agent.Key, error) { if !vaultAgent.unlockRequestAction() { return nil, errors.New("vault is locked") } + + systemauth.CreatePinSession(vaultAgent.context) } vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys()