Skip to content

Instantly share code, notes, and snippets.

@maliMirkec
Created April 10, 2017 08:59
Show Gist options
  • Save maliMirkec/e2dd5241dc64364d0c547b5ab9435630 to your computer and use it in GitHub Desktop.
Save maliMirkec/e2dd5241dc64364d0c547b5ab9435630 to your computer and use it in GitHub Desktop.
Update ssh port
# replace 22 with desired port number, save and exit
mcedit /etc/ssh/sshd_config
# restart ssh service
service ssh restart
# go to vestacp admin, firewall and edit ssh port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment