Sign inSign up

navneetlalg/sftp-client

By navneetlalg

•Updated 11 months ago

A lightweight Docker image providing an SFTP client based on Alpine Linux.

Image
Networking
Integration & delivery
Developer tools
0

2.4K

navneetlalg/sftp-client repository overview

⁠SFTP Client Image

A lightweight Docker image providing an SFTP client based on Alpine Linux.
This container is designed to run indefinitely so you can easily exec into it and initiate SFTP connections to any remote SFTP server.

⁠Features

  • Minimal, fast SFTP client environment
  • Includes openssh-client with full SFTP support
  • Includes bash and CA certificates
  • Runs as a non-root user for improved security
  • Idle container using sleep infinity so it’s always ready to exec into

⁠Usage

⁠Pull the Image
docker pull navneetlalg/sftp-client
⁠Run the Container
docker run -d --name sftp-client navneetlalg/sftp-client
⁠Exec Into the Container
docker exec -it sftp-client bash
⁠Connect to an SFTP Server

Inside the container:

sftp user@hostname

Or specify a port:

sftp -P 2222 user@hostname

⁠Using SSH Keys from Your Host

docker run -d   --name sftp-client   -v $HOME/.ssh:/home/sftpuser/.ssh:ro   navneetlalg/sftp-client

Then exec and use SFTP normally.

⁠License

MIT or your preferred license.

Tag summary

Content type

Image

Digest

sha256:9c1822e2c…

Size

6.5 MB

Last updated

11 months ago

docker pull navneetlalg/sftp-client