Skip to content

Instantly share code, notes, and snippets.

@snallami
Last active August 31, 2016 01:23
Show Gist options
  • Save snallami/604e9a62ecc7774b0d1631dd5e4ced91 to your computer and use it in GitHub Desktop.
Save snallami/604e9a62ecc7774b0d1631dd5e4ced91 to your computer and use it in GitHub Desktop.
Configure ssh server on port 22 and 443
1) Edit /etc/ssh/sshd_config
2) Add below so that sshd listens on both port 22 and 443
Port 22
Port 443
3) Load config and restart service
sudo service sshd reload
sudo service sshd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment