---
description: Connecting via SSH from the Command Line on macOS or Linux using a Password
---

# MacOS/Linux using Password

## Prerequisite

* An instance created with password authentication ([see launch instance steps](../launching-compute-instance)).

## Instructions

### 1. **Log in to the project**

Select a project from the projects management page to enter the project detail page.

![Project Detail](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/ugZ4atIcWkPvtSpRK8dP/project-detail-prod.png)

### 2. **Go to the Instances page**

In the left-hand menu, click **COMPUTE > Instances** to go to the instance page.

![Instances List](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/eEA4Ng6Lfi4W2FEMDxvG/instances-list-prod.png)

### 3. **Go to the Instance Detail page**

Click on the desired instance from the list to enter its detail page.

![Instance Detail](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/WXSML4g2aQIUpBfpzZ70/instance-detail-prod.png)

### 4. **Check the External IP**

Copy the external IP of the instance and check the SSH settings under Networks & Security Groups.

![Instance External IP](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/WuuBek0c3HZpx8z6VVyQ/instance-external-ip-prod.png)

### 5. **Open the Terminal application**

Launch the Terminal program on your macOS or Linux system.

![Terminal](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/WT8pa67j7VclboodqlRS/terminal.png)

### 6. **Run the SSH command**

Enter the following SSH command:

```
ssh nc-user@INSTANCE_EXTERNAL_IP
```

Replace INSTANCE\_EXTERNAL\_IP with your instance's External IP address.

![Secure Shell using Password](https://content.gitbook.com/content/4csDFrNQz0Q4tDnx3xyT/blobs/brVcZ7BYvBxuInMJLRa6/ssh-password-prod.png)

When prompted, type yes and press Enter to accept the server's host key. Then, enter the password you configured for the instance and press Enter.
