Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sudoalx/5ffedc47a06673aecdc2951ac636a8e0 to your computer and use it in GitHub Desktop.
Save sudoalx/5ffedc47a06673aecdc2951ac636a8e0 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Update the package list
sudo apt update
# Install the OpenSSH server package
sudo apt install -y openssh-server
# Enable the service
sudo systemctl enable ssh
# Start the service
sudo systemctl start ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment