Configuration
Minimal Configuration
system:
machine_group: "production"
run_as: "key9"
authentication:
api_key: "YOUR_API_KEY"
company_uuid: "YOUR_COMPANY_UUID"
urls:
query_ssh_keys: "https://ssh-api.k9.io/api/v1/ssh/query/"Full Configuration Reference
system:
# Required. The Key9 machine group (or comma-delimited groups) this host
# belongs to. Keys are only returned for users that have access to at least
# one of these groups.
machine_group: "production"
# Required. The OS user that k9-ssh must run as. k9-ssh will exit if the
# current process user does not match this value. Must match the user set
# in sshd_config's AuthorizedKeysCommandUser directive.
run_as: "key9"
# Optional. Timeout in seconds for API requests. Defaults to 5.
connection_timeout: 5
authentication:
# Required. Your Key9 company API key.
api_key: "YOUR_API_KEY"
# Required. Your Key9 company UUID.
company_uuid: "YOUR_COMPANY_UUID"
urls:
# Required. The Key9 SSH key query endpoint. Do not change unless instructed
# by Key9 support.
query_ssh_keys: "https://ssh-api.k9.io/api/v1/ssh/query/"
# The following URL fields are used by the Key9 NSS library (libnss-k9)
# and are not required for k9-ssh alone. Include them if you are also
# deploying the NSS library on this host.
query_group_name: "https://ssh-api.k9.io/api/v1/query/group/name"
query_group_gid: "https://ssh-api.k9.io/api/v1/query/group/gid"
query_group_id: "https://ssh-api.k9.io/api/v1/query/group/id"
query_shadow_username: "https://ssh-api.k9.io/api/v1/query/shadow/username"
query_passwd_username: "https://ssh-api.k9.io/api/v1/query/passwd/username"
query_passwd_uid: "https://ssh-api.k9.io/api/v1/query/passwd/uid"
query_passwd_id: "https://ssh-api.k9.io/api/v1/query/passwd/id"
tail:
# Used by the k9-tail log shipping component (not required for k9-ssh).
tail_file: "/var/log/auth.log"
waldo_file: "/opt/k9/cache/auth.waldo"
client_logging_url: "https://client-logging.k9-api.io/client-logging/api/v1/post"Field Reference
system section
system sectionField
Required
Default
Description
authentication section
authentication sectionField
Required
Description
urls section
urls sectionField
Required
Description
Machine Groups
File Permissions
Command-Line Flags
Flag
Default
Description
Last updated