ubuntu16.04+openssh
docker run -d -v /root:/root -p 30022:22 -it zuowang/ssh bash
enter into the container: service ssh start
now you start a ssh service on that machine in port 30022, you can scp file scp -P 300222 xxx.tar.gz ip:/root
Content type
Image
Digest
Size
86.9 MB
Last updated
over 8 years ago
docker pull zuowang/ssh