The SSH handler acts as a man-in-the-middle, authenticating inbound SSH connections automatically without exposing passwords or keys.
address
Required
Server address of the form host[:port]
privateKey
Required
PEM encoded private key
user
Optional
User to SSH as (defaults to root
)
hostKey
Optional
accepts any host key if not included
listeners:
- name: ssh_listener
protocol: ssh
address: 0.0.0.0:22
handlers:
- name: ssh_handler
listener: ssh_listener
credentials:
- name: privateKey
provider: conjur
id: my-service/ssh-key
- name: address
provider: literal
id: my-service.myorg.com:29341