# pw users ssh-key get

> Source: https://parallelworks.com/docs/cli/pw/users/ssh-key/get

## pw users ssh-key get

Show a user's workspace SSH key

### Synopsis

The **pw users ssh-key get** command shows the public half of a user's
workspace SSH key and the existing clusters that sign in with it. Requires
the **org:users** role in the target organization.

By default it uses the organization from your current context. Use **--org**
to target a different organization.

```
pw users ssh-key get [flags] <username>
```

### Examples

```
  # Show a user's workspace SSH key
  pw users ssh-key get alice
  
  # Show it as JSON for a user in another organization
  pw users ssh-key get --org my-org -o json alice
```

### Options

```
  -h, --help            help for get
      --org string      Target organization (defaults to current context)
  -o, --output string   Output format (table, json) (default "table")
```

### 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 users ssh-key](/docs/cli/pw/users/ssh-key)	 - Show or rotate a user's workspace SSH key
