DEV Community 👩‍💻👨‍💻

Cover image for How to create a simple SFTP server using java stack
vishalpaalakurthi
vishalpaalakurthi

Posted on • Updated on

How to create a simple SFTP server using java stack

Build a simple SFTP server

Usage

As a software developer, I do different activities with SFTP server. It became a daily use case for me. I use to ask a IT/DEVOps person for a help to setup SFTP server in an instance, So that i can use through different clients. It is becoming costly activity in terms of time and money and hard to setup in linux/ubuntu machines.

To avoid that, I have created my own SFTP server and it can run in my local machine too. I used a trending technologies and frameworks and built a light weight SFTP server.

Tech Stack Used

  • JAVA (11)
  • Quarkus Framework

Most of people may not know about the quarkus. But It's a Kubernetes Native Java stack tailored for OpenJDK HotSpot and GraalVM, crafted from the best of breed Java libraries and standards. Framework community is growing very fast and building a optimised solutions to the world.

This is purely build on top of JAVA and QUARKUS. I used a sshd-sftp maven package for implementing SFTP server. So that, Now i can run it locally as jar file using java commands.

Recently, I used the same jar to create a SFTP server in AWS EC2 instance. It's working cool :).

Source code

https://github.com/vishalpaalakurthi/SFTP-Server-Quarkus

(Instructions are available in README file)

I hope you like it. Please add your comments.

Thanks

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago