Good day all,
I am new to using Vault and I am just trying to understand capabilities and how to evaluate the various use cases.
The current use case I am evaluating is being able to authenticate from a remote host using I am attempting to set up a remote host to authenticate using the ssh backend (OTP).
I am getting the following error when Verifying Configuration:
2016/09/09 16:21:29 [ERROR]: unsupported scheme. use 'dev' mode
I have deployed Vault (No Dev Server) using Consul
I "believe" I followed the directions to configure both Vault and Vault SSH Helper in order to do this.
List of mounts:
Path Type Default TTL Max TTL Descr
cubbyhole/ cubbyhole n/a n/a per-tpki/ pki system 315360000 secret/ generic system system genressh/ ssh system system
Added the following to /etc/pam.d/sshd file:
#@include common-auth-->
auth requisite pam_exec.so quiet expose_authtok log=/log/vault/vaultssh.log /vault/vault-ssh-helper -con
fig=/etc/vault.d/vault_ssh.hcl
auth optional pam_unix.so not_set_pass use_first_pass nodelay
Vault Config:
backend "consul" { address = "X.X.X.X:8500" path = "vault"}listener "tcp" { address = "X.X.X.X:8200" tls_disable = 1}disable_mlock = true
Vault SSH Config:
vault_addr = "http://X.X.X.X:8200"ssh_mount_point = "ssh"tls_skip_verify = true
Once Consul(1 Master) and Vault is started in non dev modes, I would think there should not be any other issues.