Created
December 6, 2019 06:44
-
-
Save rozaydin/682bcb05da17701c20fa51ca78581691 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
sudo ssh-keygen -A | |
vim /etc/ssh/sshd_config | |
// set port to 2222 and make it listen 0.0.0.0 and PasswordAuthentication yes | |
sudo service ssh --full-restart | |
// all ready to go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment