Last active
October 8, 2023 15:40
-
-
Save letsautomatenet/b929ddfdf3e15aa4723d6b804fc36907 to your computer and use it in GitHub Desktop.
Install SSH
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
# Always good to update things first | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Install SSH | |
sudo apt-get install openssh-server | |
# Enable Service | |
sudo systemctl enable ssh | |
# Allow through Firewall | |
sudo ufw allow ssh | |
# Start Service | |
sudo systemctl start ssh | |
# Command to connect via SSH | |
ssh username@ipaddress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment