Skip to content

Instantly share code, notes, and snippets.

@alcir
Last active December 20, 2015 12:29
Show Gist options
  • Select an option

  • Save alcir/6131703 to your computer and use it in GitHub Desktop.

Select an option

Save alcir/6131703 to your computer and use it in GitHub Desktop.
smartos put PermitRootLogin yes and restart sshd
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config ; svcadm restart ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment