Skip to content

Instantly share code, notes, and snippets.

@aalbadeb
Created December 14, 2015 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalbadeb/7003cd065067084e5693 to your computer and use it in GitHub Desktop.
Save aalbadeb/7003cd065067084e5693 to your computer and use it in GitHub Desktop.
This is the run.sh file for Dockerfile-User
#!/bin/bash
set -m
set -e
echo "=> Starting SSH ..."
#service ssh start
sudo /usr/sbin/sshd -D &
fg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment