GithubHelp home page GithubHelp logo

eiel / docker-sshd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from panubo/docker-sshd

0.0 4.0 0.0 24 KB

Minimal Alpine Linux Docker container with sshd exposed and rsync installed

Home Page: https://hub.docker.com/r/panubo/sshd/

License: MIT License

Shell 100.00%

docker-sshd's Introduction

SSHD Git

Minimal Alpine Linux Docker container with sshd exposed and git installed.

Environment Options

  • AUTHORIZED_KEY

Usage Example

docker run -d -p 2222:22 -e AUTHORIZED_KEY="$(cat id_rsa.pub)" cwhimura/sshd-git
ssh-keygen -R [127.0.0.1]:2222
ssh -oStrictHostKeyChecking=no -i $(pwd)/id_rsa [email protected] -p 2222 git init --bare sample.git
export GIT_SSH_COMMAND="ssh -oStrictHostKeyChecking=no -i $(pwd)/id_rsa"
git clone ssh://[email protected]:2222/~/sample.git
cd sample
echo Hello > README.md
git add .
git commit -m "initial"
git push

Links

docker-sshd's People

Contributors

eiel avatar gaff avatar macropin avatar mgarces avatar trnubo avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.