# SSH

{% hint style="info" %}
For a full remote connection management tool that supports privileged sessions, session recording and other advanced capabilities over zero-trust cloud connections, we recommend using our [KeeperPAM platform](https://docs.keeper.io/en/keeperpam/readme).

This SSH capability described in Commander uses direct line-of-sight SSH connections.
{% endhint %}

## SSH

Keeper Commander can launch SSH connections utilizing content and metadata stored in a Keeper Vault record. The `ssh` command is used to make SSH connections. To use this command, pass it a record that holds the SSH connection details.

### ssh command

**Command:** `ssh`

**Detail:** Establishes connection to external server using SSH.

**Parameters:**

record UID, path to a record or hostname

{% hint style="info" %}
The SSH command is compatible with "SSH Key" and "Server" type records.
{% endhint %}

optionally a SSH endpoint in the following format:

`LOGIN@HOST`\[:PORT]&#x20;

If no record is provided to the `ssh` command, all the compatible records in your vault will be listed

### Examples

Make a connection by UID, by title or by hostname

```
ssh qTUzddtffRvsS1L8_ytO1A
ssh "SSH Connection"
ssh 10.0.160.7
```

See compatible records

{% code overflow="wrap" %}

```
My Vault> ssh
  #  Record UID              Type               Title                     Description
---  ----------------------  -----------------  ------------------------  -----------------------------------
  1  xwwCv4We6JqYaw3qMdykYw  serverCredentials  Connection                My_Login @ 10.0.160.7:3389
  2  qTUzddtffRvsS1L8_ytO1A  sshKeys            SSH Connection            My_Connection_Login @ 10.0.160.7:22
```

{% endcode %}
