Skip to content

Instantly share code, notes, and snippets.

@kacole2
Created May 12, 2015 02:16
Show Gist options
  • Save kacole2/abb8093476396eb1209a to your computer and use it in GitHub Desktop.
Save kacole2/abb8093476396eb1209a to your computer and use it in GitHub Desktop.
VMware Photon Quick Start Bash
#!/bin/sh
echo Changing SSH for Root login
sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
systemctl restart sshd
systemctl enable sshd
echo Starting Docker Services
systemctl start docker
systemctl enable docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment