# vault-ssh-helper -verify -config-file=/etc/vault-ssh-helper.conf
2015/10/27 00:16:29 [INFO] Using SSH Mount point: ssh
2015/10/27 00:16:29 [INFO] Agent verification successful!
$ vault write ssh/roles/otp_key_role key_type=otp default_user=root cidr_list=192.168.56.107/24
$ vault ssh -role otp_key_role root@192.168.56.107
Oct 27 00:22:23 node sshd[16690]: pam_unix(sshd:auth): unrecognized option [no_set_pass]
Oct 27 00:22:23 node unix_chkpwd[16696]: password check failed for user (root)
Oct 27 00:22:23 node sshd[16690]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.56.1 user=root
Oct 27 00:22:23 node sshd[16688]: error: PAM: User account has expired for root from 192.168.56.1
Oct 27 00:22:23 node sshd[16688]: Connection closed by 192.168.56.1 [preauth]
2015/10/27 00:22:23 [INFO] Using SSH Mount point: ssh
2015/10/27 00:22:23 [INFO] root@192.168.56.107 Authenticated!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/09bb1c63-da55-4177-9331-306dfae095b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/CAAR5vZUV1Y9-a0Pb6O%2BdvxrzGZyH59kqgA-i45iW-eD2A_4XZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/bcc1c4a7-23e5-4051-be4b-077e8ab6f4f1%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Vault" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vault-tool/TVf8Ktg2RZ0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/CAORe8GFKXwY_BA5ifts1pMUA6VTztKuOo7-EGa4nbgwdqi5s7A%40mail.gmail.com.