Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setup openssh server on Local Flywheel Container
#!/usr/bin/env bash
apt-get update && apt-get install -y openssh-server
sed -i "/service mysql start/aservice ssh start" /etc/scripts/
echo "root:root" | chpasswd
sed -i "s/PermitRootLogin without-password/PermitRootLogin yes/" /etc/ssh/sshd_config
echo "ssh update complete. You may now restart Local"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment