SSH

The SSH service authenticator 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

 

version: "2"
services:
  ssh:
    protocol: ssh
    listenOn: tcp://0.0.0.0:22
    credentials:
      address: my-service.myorg.com:29341
      privateKey:
        from: conjur
        get: my-service/ssh-key
 
9.7