SFTP

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

License

License

GroupId

GroupId

org.dhatim
ArtifactId

ArtifactId

sftp-server
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

https://github.com/dhatim/dropwizard-sftp
Source Code Management

Source Code Management

http://github.com/dhatim/dropwizard-sftp.git

Download sftp-server

How to add to project

<!-- https://jarcasting.com/artifacts/org.dhatim/sftp-server/ -->
<dependency>
    <groupId>org.dhatim</groupId>
    <artifactId>sftp-server</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.dhatim/sftp-server/
implementation 'org.dhatim:sftp-server:1.1.1'
// https://jarcasting.com/artifacts/org.dhatim/sftp-server/
implementation ("org.dhatim:sftp-server:1.1.1")
'org.dhatim:sftp-server:jar:1.1.1'
<dependency org="org.dhatim" name="sftp-server" rev="1.1.1">
  <artifact name="sftp-server" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.dhatim', module='sftp-server', version='1.1.1')
)
libraryDependencies += "org.dhatim" % "sftp-server" % "1.1.1"
[org.dhatim/sftp-server "1.1.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.sshd : sshd-core jar 1.3.0
io.dropwizard : dropwizard-core jar 1.0.0
io.dropwizard : dropwizard-lifecycle jar 1.0.0

Project Modules

There are no modules declared in this project.

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.0.0-3</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.

org.dhatim

Dhatim

Versions

Version
1.1.1