Skip to content

Instantly share code, notes, and snippets.

@hemilioaraujo
Created August 8, 2020 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemilioaraujo/a9118ce6d52c6385f0c85369924e5a6d to your computer and use it in GitHub Desktop.
Save hemilioaraujo/a9118ce6d52c6385f0c85369924e5a6d to your computer and use it in GitHub Desktop.
# 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