MyGit

dhatim/dropwizard-sftp

Fork: 3 Star: 1 (更新于 2024-10-31 14:26:05)

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-11-05 19:32:42 xiaojieonly/Ehviewer_CN_SXJ

2024-11-05 04:13:47 Stirling-Tools/Stirling-PDF

2024-11-04 02:03:13 exzhawk/EhViewer

2024-11-03 00:43:09 PBH-BTN/PeerBanHelper

2024-10-31 18:52:00 CodePhiliaX/Chat2DB

2024-10-31 11:19:43 mybatis-flex/mybatis-flex