Created
March 31, 2026 09:00
-
-
Save AnythingLinux/9d31e9ebf67f6fe8615fc95cb5c554f6 to your computer and use it in GitHub Desktop.
How To Enable SSH Access on Ubuntu Linux Server
This file contains hidden or 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
| 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