Created
November 1, 2019 18:09
-
-
Save zicodhkbd/17948ee1ae20b0d297d556c2423d737c to your computer and use it in GitHub Desktop.
Enable SSH in Ubuntu 18.04 LTS
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
#!/bin/sh | |
sudo apt-get install openssh-server | |
sudo service ssh status | |
sudo nano /etc/ssh/sshd_config | |
set PermitRootLogin yes | |
set PasswordAuthentication yes | |
set PermitEmptyPasswords yes | |
sudo service ssh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment