Sign inSign up

cnbbx/alpine-sshd

By cnbbx

•Updated over 7 years ago

Image
0

807

cnbbx/alpine-sshd repository overview

## Make your OpenSSH fly on Alpine

### Overview
Use this Dockerfile / -image to start a sshd-server upon a lightweight Alpine container.

### Features
* Always installs the latest OpenSSH-Version available for Alpine
* Password of "root"-user can be changed when starting the container using --env

### Basic Usage
```
$ docker run --restart=always --name cnbbx_sshd \
-p 2022:22 -e ROOT_PASSWORD=123456 \
-d cnbbx/alpine-sshd
```

After the container is up you are able to ssh in it as root with the in --env provided password for "root"-user.
```
$ ssh [email protected] -p 1337
```

### Use with docker-compose
I built this image in order to use it along with a nginx and fpm-php container for transferring files via sftp.
If you are interested in a Dockerfile which fulfills this need: [this way](https://github.com/Hermsi1337/docker-compose/blob/master/full_php_dev_stack/docker-compose.yml)

Tag summary

Content type

Image

Digest

Size

3.6 MB

Last updated

over 7 years ago

docker pull cnbbx/alpine-sshd