Sign inSign up

stellarhub/openssh

By stellarhub

Updated 8 months ago

A ssh server which you can use scp for secure file copy

Image
Integration & delivery
0

980

stellarhub/openssh repository overview

OpenSSH server

Docker Image Version Docker Image Size Docker Pulls.

This image is built automatically from https://github.com/barrychum/docker-openssh.git via GitHub actions.

Build the Docker image:

docker build --build-arg USERNAME=myuser --build-arg PASSWORD=mypassword -t my-sc

Run the Docker container:

docker run -d -p 22:22 -v $HOME/mnt:/mnt/data --name scp --rm stellarhub/openssh

Access your SCP server:

Use an SCP client to connect to your server. For example:

scp file.txt myuser@localhost:2222:/mnt/data/destination/
scp -P 2222 ./Dockerfile myuser@localhost:/mnt/data/keyvault

Tag summary

Content type

Image

Digest

sha256:638bff9a2

Size

5.7 MB

Last updated

8 months ago

docker pull stellarhub/openssh