Skip to content

Instantly share code, notes, and snippets.

@rozaydin
Created December 6, 2019 06:44
Show Gist options
  • Save rozaydin/682bcb05da17701c20fa51ca78581691 to your computer and use it in GitHub Desktop.
Save rozaydin/682bcb05da17701c20fa51ca78581691 to your computer and use it in GitHub Desktop.
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