Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org.dhatim:dropwizard-sftp

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.dhatim:dropwizard-sftp

SFTP Server (SSH File Transfer Protocol) based on Apache MINA SSHD for Dropwizard

  • 4.0.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
2
Source

dropwizard-sftp

Build Status Maven Central Javadocs

SFTP Server (SSH File Transfer Protocol) based on Apache MINA SSHD for Dropwizard. Please note version 2 requires Dropwizard 2.

Usage

Maven Artifacts

This project is available in the Central Repository. To add it to your project simply add the following dependency to your POM:

<dependency>
  <groupId>org.dhatim</groupId>
  <artifactId>dropwizard-sftp</artifactId>
  <version>2.1.1</version>
</dependency>

Define SSHD configuration

sshd:
  enable: true
  port: 2222
  bindHost: localhost
  capacity: 256

The capacity (defaults to 256) caps the amount of in-flight buffers during a transfer session by throttling the producer and the consumer.

Add the bundle to your Dropwizard application

bootstrap.addBundle(new SshdBundle<YourConfiguration>() {
    @Override
    public SshdConfiguration getSshdConfiguration(YourConfiguration configuration) {
        return configuration.getSshd();
    }

    @Override
    public void configure(YourConfiguration configuration, Environment environment, SshServer server) {
        // Init your SSH Server
    }
});

Support

Please file bug reports and feature requests in GitHub issues.

FAQs

Package last updated on 23 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc