Vault-SSH-Helper ! Https problem

185 views
Skip to first unread message

Marouane El Moussaoui

unread,
Mar 14, 2017, 11:05:41 AM3/14/17
to Vault
Hello,
i actually install vault-ssh-helper
but when i run vault-ssh-helper -verify-only -config=configssh.hcl

i have this error message :
http:server gave HTTP response to HTTPS client.

i have try to change VAULT_ADDR to https://ipadresse
but still have the same problem.

I have take a screenshot for my configssh.hcl


Thank you
Auto Generated Inline Image 1

Jeff Mitchell

unread,
Mar 14, 2017, 12:09:05 PM3/14/17
to Vault
Hi there,

This means that your Vault server is running via HTTP but your address to connect to for the SSH client is HTTPS.

BTW I believe the client will refuse to connect to an HTTP Vault server (even if properly configured) if not running in dev mode.

Best,
Jeff

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/d0033637-cd7f-4372-8d86-3a501d13160a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marouane El Moussaoui

unread,
Mar 15, 2017, 5:02:55 AM3/15/17
to Vault

Thank you, i have resolve the problem.

Now i have test all things in https://www.vaultproject.io/docs/secrets/ssh/index.html 

for the OTP Type.
but when i want to connect on ssh i have this error message :

$ ssh centos@localhost
Permission denied ( publickey , keyboard-interactive )

Thank you

Marouane El Moussaoui

unread,
Mar 15, 2017, 5:53:40 AM3/15/17
to Vault

Auto Generated Inline Image 1
Reply all
Reply to author
Forward
0 new messages