Created
November 20, 2022 11:27
-
-
Save rdh27785/2559af3af43764065ac741ccbb284df3 to your computer and use it in GitHub Desktop.
In the sshd_config installed on Vultr's VPS, "PasswordAuthentication yes" and "PermitRootLogin yes" are written at the end, so you need to delete them. Don't worry, you can log in as root from the Vultr console.
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
--- /etc/ssh/sshd_config~vultr 2022-11-09 07:34:55.287648773 +0000 | |
+++ /etc/ssh/sshd_config 2022-11-09 11:12:23.028639067 +0000 | |
@@ -120,6 +120,6 @@ | |
# AllowTcpForwarding no | |
# PermitTTY no | |
# ForceCommand cvs server | |
-PasswordAuthentication yes | |
-PermitRootLogin yes | |
+#PasswordAuthentication yes | |
+#PermitRootLogin yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment