Parallel Works

pw ssh-public-keys

pw ssh-public-keys

Get the SSH public keys for a user

Synopsis

The pw ssh-public-keys command prints the SSH public keys a user has registered with the platform, in authorized_keys format.

It is designed to serve as an sshd AuthorizedKeysCommand, so it also works without stored credentials as long as --platform-host (or PW_PLATFORM_HOST) is set.

pw ssh-public-keys <username> [flags]

Examples

  pw ssh-public-keys jake.thayne
  
  # Use as an sshd AuthorizedKeysCommand without stored credentials
  pw ssh-public-keys --platform-host activate.parallel.works jake.thayne

Options

  -h, --help   help for ssh-public-keys

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging

SEE ALSO

  • pw - The Parallel Works ACTIVATE CLI