# SSH Passwordless Login

**SSH Passwordless Login** is set up on all CSL machines in order to seamlessly SSH into different machines without having to type in your password every time. This is achieved using user SSH keys.

In order to set up passwordless login, run `ssh-keygen` and hit enter through the setup wizard. This will create two files, `id_rsa` and `id_rsa.pub`, in `[YOUR HOME DIRECTORY]/.ssh`. Log into a remote access server, create the `.ssh` folder in there (i.e., `mkdir ~/.ssh`), and upload the two files in there. Run `chmod 600 ~/.ssh/id_rsa`; this fixes permission issues. When you're at school, visit <https://ipa.tjhsst.edu> and login with your CSL username and password. Go to your profile page. Click on "Add" next to "SSH Public Keys" and upload the contents of `id_rsa.pub`. You should now be able to SSH without a password to any machine that you have authorization for.


---

# 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://documentation.tjhsst.edu/technologies/authentication/sshd/ssh-passwordless-login.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.
