A ssh server which you can use scp for secure file copy
980
.
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
Content type
Image
Digest
sha256:638bff9a2…
Size
5.7 MB
Last updated
8 months ago
docker pull stellarhub/openssh