# Быстрое подключение без пароля по ssh

Установка (делается 1 раз):

```bash
sudo -S apt install sshpass -y
```

Форм-фактор записи:

```bash
sshpass -p '<Пароль>' ssh <Имя пользователя на удалённой машине>@<ip машины, к которой подключаемся>
```

Прописываем в `~/.bashrc` свой конфиг (пример конфига):

```bash
sshpass -p 'PassExample' ssh banana@192.168.1.105
```

Теперь при каждом запуске терминала, мы будем пытаться подключиться к машине от имени пользователя `banana` с IP-адресом `192.168.1.105`


---

# 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://alice-and-alex-docs.gitbook.io/alice_and_alex_docs/ustanovka-po-dlya-udobnoi-raboty/bystroe-podklyuchenie-bez-parolya-po-ssh.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.
