# How to SSH into your instance

## 1. Deploy a Cloud GPU

Configure a GPU on our [Marketplace](https://marketplace.tensordock.com/order_list) based on cost, RAM, storage, and vCPUs. To use SSH, ensure that you have a port forwarded to port 22. To use Ubuntu, select your version for your installation. Make sure your storage matches your operating system's requirements.

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FBdS3bpjW7C2TkhF9gJwh%2Fimage%20(23).png?alt=media&#x26;token=35fd275d-5750-4077-963f-2243d60de8bc" alt=""><figcaption><p>You need to forward to port 22 to SSH into your instance</p></figcaption></figure>

## 2. Set up your machine for SSH

We auto generate the command line for you.

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FFJHsHxgYr8GlJbQS8KR4%2Fimage%20(24).png?alt=media&#x26;token=6411f03b-3969-4f32-9013-57a1a614289e" alt=""><figcaption><p>Use the networking section your SSH information</p></figcaption></figure>

Run the generated command in your operating system's terminal software to access your instance:&#x20;

* Windows: Powershell
* Linux: Terminal
* MacOS: Terminal

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2Fpy34H5xYjCzS0Zs9eqQw%2Fimage.png?alt=media&#x26;token=d6af05aa-d720-4af3-89ac-5f3d0476ffc9" alt=""><figcaption><p>Example for Windows Powershell</p></figcaption></figure>

Congratulations! You have now SSHed into your server and have access to the power needed for your own usage. At any time, you can quit your connection with the command `exit`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tensordock.com/virtual-machines/how-to-ssh-into-your-instance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
