base on Apache MINA sshd is a comprehensive Java library for client- and server-side SSH. ![Apache MINA SSHD](https://mina.apache.org/assets/img/header-sshd.png "Apache MINA SSHD") # Apache MINA SSHD Apache MINA SSHD is a 100% pure java library to support the SSH protocols on both the client and server side. It does not aim at being a replacement for the SSH client or SSH server from Unix operating systems, but rather provides support for Java based applications requiring SSH support. The library can leverage several I/O back-ends: * The default transport is built-in and uses Java's `AsynchronousSocketChannel`s. * [Apache MINA](https://mina.apache.org), a scalable and high performance asynchronous I/O library, can be used instead, or * the [Netty](https://netty.io) asynchronous event-driven network framework is also supported. # Releases Releases of Apache MINA sshd are available at [Maven Central](https://mvnrepository.com/artifact/org.apache.sshd). `tar.gz` and ZIP source and binary distributions are available at the [Apache MINA sshd](https://mina.apache.org/sshd-project/downloads.html) web site. *Snapshot* releases from the main branch are published on each push or merge on the main branch, if the tests pass successfully. These snapshot releases are available at the [Apache Snapshot](https://repository.apache.org/content/repositories/snapshots) maven repository. ## [Release notes](./CHANGES.md) # Issue reporting Bug reports and improvement or feature requests can be filed at the [GitHub issue tracker](https://github.com/apache/mina-sshd/issues) or at the [Apache issue tracker](https://issues.apache.org/jira/projects/SSHD). Sensitive issues such as security vulnerabilities must be reported through [private channels](./SECURITY.md), not via either issue tracker. # [Supported standards](./docs/standards.md) # Core requirements * Java 8+ at runtime (as of version 2.3) * Java 17+ at build time (as of version 2.14) * [Slf4j](https://www.slf4j.org/) The code only requires the core abstract [slf4j-api](https://mvnrepository.com/artifact/org.slf4j/slf4j-api) module. The actual implementation of the logging API can be selected from the many existing adaptors. # Basic artifacts structure * *sshd-common* - contains basic classes used throughout the project as well as code that does not require client or server network support. * *sshd-core* - contains the basic SSH client/server code implementing the connection, transport, channels, forwarding, etc.. * *sshd-mina*, *sshd-netty* - replacements for the default NIO2 connector used to establish and manage network connections using [MINA](https://mina.apache.org/mina-project/index.html) and/or [Netty](https://netty.io/) libraries respectively. * *sshd-sftp* - contains the server side SFTP subsystem and the SFTP client code. * *sshd-spring-sftp* - contains a [Spring Integration](https://spring.io/projects/spring-integration) compatible SFTP adapter * *sshd-scp* - contains the server side SCP command handler and the SCP client code. * *sshd-ldap* - contains server-side password and public key authenticators that use an LDAP server. * *sshd-git* - contains replacements for [JGit](https://www.eclipse.org/jgit/) SSH session factory. * *sshd-osgi* - contains an artifact that combines *sshd-common* and *sshd-core* so it can be deployed in OSGi environments. * *sshd-putty* - contains code that can parse [PUTTY](https://www.putty.org/) key files. * *sshd-openpgp* - contains code that can parse [OpenPGP](https://www.openpgp.org/) key files (with some limitations - see relevant section) * *sshd-cli* - contains simple templates for command-line client/server - used to provide look-and-feel similar to the Linux *ssh/sshd* commands. * *sshd-contrib* - **experimental** code that is currently under review and may find its way into one of the other artifacts (or become an entirely new artifact - e.g., *sshd-putty* evolved this way). * *sshd-benchmarks* - contains some JMH benchmarks for SSH operations. The benchmarks are intended to be run by developers locally; the artifact is not part of the binary distribution, and is not deployed to any maven repository. # [Optional dependencies](./docs/dependencies.md) # Quick reference ## Building the code Including tests ``` mvn clean install ``` Without tests ``` mvn -Pquick clean install ``` ## [Set up an SSH client in 5 minutes](./docs/client-setup.md) ## [Embedding an SSHD server instance in 5 minutes](./docs/server-setup.md) # SSH functionality breakdown ## [Security providers setup](./docs/security-providers.md) ## [Commands infrastructure](./docs/commands.md) ## [SCP](./docs/scp.md) ## [SFTP](./docs/sftp.md) ## [Port forwarding](./docs/port-forwarding.md) ## [Internal support classes](./docs/internals.md) ## [Event listeners and handlers](./docs/event-listeners.md) ## [Command line clients](./docs/cli.md) ## [GIT support](./docs/git.md) ## [Configuration/data files parsing support](./docs/files-parsing.md) ## [Extension modules](./docs/extensions.md) # [HOWTO(s)](./docs/howto.md) # Technical Documentation ## [SSH Key Exchange](./docs/technical/kex.md) ## [TCP/IP Port Forwarding](./docs/technical/tcpip-forwarding.md) ## [Global Requests](./docs/technical/global_requests.md) ## [Android support](./docs/android.md) ", Assign "at most 3 tags" to the expected json: {"id":"9368","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"