Last active
August 31, 2016 01:23
-
-
Save snallami/604e9a62ecc7774b0d1631dd5e4ced91 to your computer and use it in GitHub Desktop.
Configure ssh server on port 22 and 443
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
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