Created
August 8, 2020 22:26
-
-
Save hemilioaraujo/a9118ce6d52c6385f0c85369924e5a6d 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
# INSTALL OPENSSH | |
sudo apt install openssh-server; | |
# CHECK SERVICE STATUS | |
sudo service ssh status; | |
# CHANGE SERVER CONF | |
sudo gedit /etc/ssh/sshd_config; | |
sudo service ssh restart; | |
# CREATE PERMISSION FIREWALL | |
sudo ufw allow ssh; | |
############################################## | |
# SSH ACCESS # | |
############################################## | |
# SINTAX | |
# ssh user@ip | |
# ssh user@ip -p port-number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment