Created
April 20, 2023 21:07
-
-
Save filinivan/868676bef18b90fd1157e956c264f746 to your computer and use it in GitHub Desktop.
Server configure
This file contains hidden or 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 на сервер ssh-copy-id user@server | |
2. Отключаем доступ по паролю в etc/ssh/sshd_config (passwordAuthentication=no) service ssh restart | |
3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment