# Windows (PuTTY)

## Agent Forwarding with PuTTY

1. Once adding your private key to Pageant, open PuTTY and navigate to the Auth menu.

![PuTTY Auth menu showing options for SSH authentication highlighting the 'Allow agent forwarding' checkbox](/files/-MMWJXOKBHO1-OjcFDOZ)

2\. Check the 'Allow agent forwarding' checkbox, and return to the Session menu.

![PuTTY Session menu showing Host Name input field](/files/-MMWKaQfo7I5GtvCe3gU)

3\. Enter the Host Name you usually use to connect to Oscar, and click 'Open'.

4\. Entering your password. If you have ssh keys setup on your local computer to connect to GitHub, you can confirm your ssh-agent was properly forwarded by checking GitHub . If the ssh command fails, your agent has not been properly forwarded.

```bash
ssh -T git@github.com
```

```console
Hi JaneDoe! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
```


---

# 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.ccv.brown.edu/oscar/connecting-to-oscar/ssh/ssh-agent-forwarding/key-generation-and-agent-forwarding-with-putty.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.
