Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AnythingLinux/9d31e9ebf67f6fe8615fc95cb5c554f6 to your computer and use it in GitHub Desktop.

Select an option

Save AnythingLinux/9d31e9ebf67f6fe8615fc95cb5c554f6 to your computer and use it in GitHub Desktop.
How To Enable SSH Access on Ubuntu Linux Server
apt install openssh-server
nano /etc/ssh/sshd_config
# Find (ctrl+w) this line and set
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication yes
# Save & exit ctrl+s and ctrl+x then hit enter
service ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment