MyGit

dhatim/dropwizard-sftp

Fork: 3 Star: 1 (更新于 2024-12-19 00:32:08)

license: Apache-2.0

Language: Java .

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

最后发布版本: 4.0.1 ( 2023-06-23 15:59:52)

GitHub网址

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.

最近版本更新:(数据更新于 2024-09-05 12:54:45)

2023-06-23 15:59:52 4.0.1

2023-06-20 15:51:18 4.0.0

2022-11-17 04:06:12 2.1.16

2022-09-13 00:39:27 2.1.15

2022-09-08 00:28:24 2.1.14

2022-07-23 00:25:56 2.1.13

2022-07-05 01:04:33 2.1.12

2022-05-09 17:07:55 2.1.11

2022-01-25 00:27:16 2.1.10

2022-01-11 00:55:19 2.1.9

主题(topics):

bundle, dropwizard, java, library, sftp-server

dhatim/dropwizard-sftp同语言 Java最近更新仓库

2024-12-20 19:54:15 mybatis-flex/mybatis-flex

2024-12-19 21:53:46 spring-projects/spring-boot

2024-12-19 21:25:16 Stirling-Tools/Stirling-PDF

2024-12-19 16:28:14 Tornaco/Thanox

2024-12-19 10:42:01 alibaba/nacos

2024-12-18 20:58:34 dromara/forest