Handlers

SSH

Overview

The SSH handler acts as a man-in-the-middle, authenticating inbound SSH connections automatically without exposing passwords or keys.

Credentials

  • 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

Example

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

Ready to use Secretless Broker in your Kubernetes environment? Check out our Kubernetes tutorial or our deployment guides!