Socket
Socket
Sign inDemoInstall

org.dhatim:sftp-server

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:sftp-server

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


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 24 Jul 2018

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