SSH

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

Credentials

Option

Description

Required?

address

Server address of the form host[:port] Required

privateKey

PEM encoded private key Required

user

User to SSH as (defaults to root)

Optional

hostKey

Accepts any host key if not included

Optional

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
 
9.7