Created
September 24, 2019 18:24
-
-
Save Manzadey/46ac58dd3a758feb01e588f15c45662a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Шаг 1: Генерируем пару ключей на локальной машине | |
ssh-keygen | |
# Шаг 2: Устанавливаем открытый ключ на удаленном сервере | |
ssh-copy-id -i ~/.ssh/id_rsa.pub UserName@RemoteServer | |
# Шаг 3: Добавляем секретный ключ в агент аутентификации на локальной машине | |
ssh-add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Не заходит по SSH — ошибка WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!