# SSH connections to NAF

On most computers used in computing-heavy research, a Unix type operating system is used.

A reason why many researchers prefer using a MacBook or a computer with one of the many options for a Unix/Linux based operating system, is that they can also develop their analysis software locally.

They can also connect with a computing node of the DESY computing centre, the NAF (national analysis facility) using the command line and the `ssh` command.

Read more here to learn about what ssh is and can provide for you:

{% embed url="<https://www.ucl.ac.uk/isd/what-ssh-and-how-do-i-use-it>" %}

However, also users of Windows computers can connect with such a computing node, using applications such as putty:

{% embed url="<https://www.chiark.greenend.org.uk/~sgtatham/putty/>" %}

Modern versions of the Windows operating system, such as Windows 10, also provide a native ssh client. It is even possible to install a linux subsystem on Windows 11: <https://docs.microsoft.com/en-us/windows/wsl/install>

Alternatively, you can use the jupyter instance on DESY NAF with a web-browser and start a new terminal there (although as a long-term solution, a dedicated ssh client is a better solution):

{% embed url="<https://naf-jhub.desy.de/>" %}

You can connect with NAF using the following command using ssh

```
ssh katsarov@naf-atlas.desy.de
```

With putty, you can use the following configuration:

* Host Name: `naf-atlas.desy.de`
* Login protocol: `SSH`

The username in the prompt when connecting is your DESY username and the password the associated password.

More documentation is provided here:

{% embed url="<https://confluence.desy.de/display/IS/NAF+Login%2C+WGS+and+remote+Desktop>" %}

{% embed url="<https://the.earth.li/~sgtatham/putty/0.77/htmldoc/Chapter2.html>" %}


---

# 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://philipp-gadow.gitbook.io/desy-summie-ftag/software-tutorials/ssh-connections-to-naf.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.
