This container is for setup a ssh port, with rsync and sudo.
Pull the image.
docker pull oems/svdssh
Setup the SVDUSER and SVDGROUP like on the example file (env-file) and add a file authorized_keys with your own id_rsa.pub (the same for the root and the user):
note: View the setup.sh for clarity.
# User and group
SVDUSER=myuser
SVDGROUP=mygroup
# If you setup this var to any, the sshd gonna to use the default key, this may be unsecure.
#DEFKEY="any"
and run the command:
docker run --rm -it --env-file ./env-file -v $(pwd)/authorized_keys:/root/.ssh/authorized_keys oems/svdssh
or setup all the vars on the line command, for ie:
--env SVDUSER="myuser"
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
TODO: Write credits
TODO: Write license