SFTP

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

Лицензия

Лицензия

Группа

Группа

org.dhatim
Идентификатор

Идентификатор

sftp-server
Последняя версия

Последняя версия

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

SFTP
TSFTP Server (SSH File Transfer Protocol) based on Apache MINA SSHD for Dropwizard
Ссылка на сайт

Ссылка на сайт

https://github.com/dhatim/dropwizard-sftp
Система контроля версий

Система контроля версий

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

Скачать sftp-server

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
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

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.1.1