Skip to content

Instantly share code, notes, and snippets.

@zicodhkbd
Created November 1, 2019 18:09
Show Gist options
  • Save zicodhkbd/17948ee1ae20b0d297d556c2423d737c to your computer and use it in GitHub Desktop.
Save zicodhkbd/17948ee1ae20b0d297d556c2423d737c to your computer and use it in GitHub Desktop.
Enable SSH in Ubuntu 18.04 LTS
#!/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