This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/mina-site.git
The following commit(s) were added to refs/heads/asf-site by this push: new c7e4eaf Updated site from master (13508bf299da69cac3d42741f9809c591e5b34c8) c7e4eaf is described below commit c7e4eaf0e2809fdc81feb6cd8b3337e52a7a784a Author: jenkins <bui...@apache.org> AuthorDate: Mon Jun 22 15:29:26 2020 +0000 Updated site from master (13508bf299da69cac3d42741f9809c591e5b34c8) --- content/downloads-sshd.html | 11 +- content/index.xml | 76 +++-------- content/sitemap.xml | 43 +++---- content/sshd-project/configuring_security.html | 140 --------------------- content/sshd-project/documentation.html | 13 +- ...uired_dependencies.html => download_2.4.0.html} | 26 ++-- content/sshd-project/downloads.html | 11 +- content/sshd-project/embedding_ssh.html | 36 +----- content/sshd-project/faq.html | 2 +- content/sshd-project/features.html | 2 +- content/sshd-project/index.html | 1 + content/sshd-project/index.xml | 68 +++------- content/sshd-project/load_ssh_editor.html | 130 ------------------- content/sshd-project/sources.html | 2 +- content/sshd-project/tips.html | 130 ------------------- 15 files changed, 88 insertions(+), 603 deletions(-) diff --git a/content/downloads-sshd.html b/content/downloads-sshd.html index f097d2b..1b140fa 100644 --- a/content/downloads-sshd.html +++ b/content/downloads-sshd.html @@ -89,18 +89,18 @@ <h1 id="latest-sshd-releases">Latest SSHD Releases</h1> -<p>The latest release is the SSHD 2.4.0 release.</p> +<p>The latest release is the SSHD 2.5.0 release.</p> <ul> <li>Source distributions: <ul> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz">Apache Mina SSHD 2.4.0 Sources (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.sha1">SHA</a></li> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip">Apache Mina SSHD 2.4.0 Sources (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz">Apache Mina SSHD 2.5.0 Sources (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip">Apache Mina SSHD 2.5.0 Sources (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip.sha1">SHA</a></li> </ul> </li> <li>Binary distributions: <ul> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/dist/apache-sshd-2.4.0.tar.gz">Apache Mina SSHD 2.4.0 Binary (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.sha1">SHA</a></li> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/dist/apache-sshd-2.4.0.zip">Apache Mina SSHD 2.4.0 Binary (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/dist/apache-sshd-2.5.0.tar.gz">Apache Mina SSHD 2.5.0 Binary (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.tar.gz.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/dist/apache-sshd-2.5.0.zip">Apache Mina SSHD 2.5.0 Binary (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.zip.sha1">SHA</a></li> </ul> </li> </ul> @@ -135,6 +135,7 @@ <li><a href="sshd-project/download_2.1.0.html">SSHD 2.1.0</a></li> <li><a href="sshd-project/download_2.2.0.html">SSHD 2.2.0</a></li> <li><a href="sshd-project/download_2.3.0.html">SSHD 2.3.0</a></li> +<li><a href="sshd-project/download_2.4.0.html">SSHD 2.4.0</a></li> </ul> diff --git a/content/index.xml b/content/index.xml index 759ec02..e982d96 100644 --- a/content/index.xml +++ b/content/index.xml @@ -891,6 +891,16 @@ Getting the Distributions Source distributions: Apache Mina SSHD 2.3.0 Sources </item> <item> + <title>Apache SSHD 2.4.0 Release</title> + <link>https://mina.apache.org/sshd-project/download_2.4.0.html</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://mina.apache.org/sshd-project/download_2.4.0.html</guid> + <description>Overview Apache Mina SSHD 2.4.0 contains a number of enhancements and bug-fixes. +Getting the Distributions Source distributions: Apache Mina SSHD 2.4.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.4.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Binary (.zip) PGP SHA Release Notes Apache Mina SSHD 2.4.0 contains a few enhancements and bug-fixes.</description> + </item> + + <item> <title>Apache Vysper</title> <link>https://mina.apache.org/vysper-project/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> @@ -1211,8 +1221,8 @@ All Releases Apache FtpServer 1.1.1 Release Apache FtpServer 1.1.0 Release Apac <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/downloads-sshd.html</guid> - <description>Latest SSHD Releases The latest release is the SSHD 2.4.0 release. - Source distributions: Apache Mina SSHD 2.4.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.4.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. + <description>Latest SSHD Releases The latest release is the SSHD 2.5.0 release. + Source distributions: Apache Mina SSHD 2.5.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.5.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. Previous releases SSHD 0.1.0 SSHD 0.</description> </item> @@ -1242,9 +1252,7 @@ FtpServerFactory serverFactory = new FtpServerFactory(); FtpServer server = serv <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/embedding_ssh.html</guid> - <description>Embedding SSHD in 5 minutes SSHD is designed to be easily embedded in your application as an SSH server. SSH Server needs to be configured before it can be started. Essentially, there are three steps for creating the Server - Create an instance of SshServer class Configure the Server Start the Server Lets look at all these steps. Refer to this class for details SshServer.java -Creating an instance of SshServer This is as simple as creating a new object</description> + <description>Embedding SSHD in 5 minutes See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -1623,17 +1631,6 @@ What are the important information you need to put when filing a JIRA ?</descrip </item> <item> - <title>Loading SSHD in Eclipse or IDEA</title> - <link>https://mina.apache.org/sshd-project/load_ssh_editor.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/load_ssh_editor.html</guid> - <description>Loading SSHD in Eclipse or IDEA If you want to debug or develop on SSHD, chances are you want to load it in your IDE. Most IDE now have some maven support (either natively or through plugins), but if you don&rsquo;t have those plugins installed, you can create the required project files using one of the following command: -mvn eclipse:eclipse or -mvn idea:idea If you want to have the source code for the various dependencies available for debugging, you can add the -DdownloadSources=true parameter on the command line.</description> - </item> - - <item> <title>Message flow</title> <link>https://mina.apache.org/mina-project/technical-documentation/message-flow.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> @@ -1837,17 +1834,6 @@ Normal Git Access Anyone can check code out of Git. You only need to specify a u </item> <item> - <title>SSHD Configuring Security</title> - <link>https://mina.apache.org/sshd-project/configuring_security.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/configuring_security.html</guid> - <description>Configuring Security The SSHD server needs to be integrated and the security layer has to be customized to suit your needs. This layer is pluggable and use the following interfaces: - PasswordAuthenticator for password based authentication PublickeyAuthenticator for key based authentication Those custom classes can be configured on the SSHD server using the following code: -SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(new MyPasswordAuthenticator()); sshd.setPublickeyAuthenticator(new MyPublickeyAuthenticator()); If only one of those class is implemented, only the related authentication mechanism will be enabled.</description> - </item> - - <item> <title>SSHD Contributors</title> <link>https://mina.apache.org/sshd-project/contributors.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> @@ -1864,7 +1850,7 @@ SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(n <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/documentation.html</guid> - <description>Apache SSHD documentation Resources API JavaDocs Tutorials Configuring security Embedding SSHD in 5 minutes Loading SSHD in Eclipse or IDEA Required dependencies Tips </description> + <description>Apache SSHD documentation See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -1873,8 +1859,8 @@ SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(n <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/downloads.html</guid> - <description>Latest SSHD Releases The latest release is the SSHD 2.4.0 release. - Source distributions: Apache Mina SSHD 2.4.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.4.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. + <description>Latest SSHD Releases The latest release is the SSHD 2.5.0 release. + Source distributions: Apache Mina SSHD 2.5.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.5.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. Previous releases SSHD 0.1.0 SSHD 0.</description> </item> @@ -1884,7 +1870,7 @@ Previous releases SSHD 0.1.0 SSHD 0.</description> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/faq.html</guid> - <description>FAQ TODO</description> + <description>FAQ See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -1893,7 +1879,7 @@ Previous releases SSHD 0.1.0 SSHD 0.</description> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/features.html</guid> - <description>Features TODO</description> + <description>Features The list of features implemented by Mina SSHD is available at https://github.com/apache/mina-sshd.</description> </item> <item> @@ -1935,18 +1921,8 @@ For Users Please use this list for any questions regarding how to use SSHD. <guid>https://mina.apache.org/sshd-project/</guid> <description>Overview Apache SSHD is a 100% pure java library to support the SSH protocols on both the client and server side. This library is based on Apache MINA, a scalable and high performance asynchronous IO library. -SSHD does not really 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.</description> - </item> - - <item> - <title>SSHD Required dependencies</title> - <link>https://mina.apache.org/sshd-project/required_dependencies.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/required_dependencies.html</guid> - <description>Required dependencies SSHD has 2 compile-time dependencies: - MINA Core 2.0.x : http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar SLF4J API 1.6.4 : http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar Note that since SSHD 0.9.0, the Mina Core library is optional when running in JDK 1.7 and SSHD will default to using nio2 if available. -To be able to run SSHD, you will also need one SLF4J Logger implementation. The simplest one is the one using java.util.logging underneath which can be downloaded at http://repo2.</description> +SSHD does not really 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 technical documentation is maintained in the source tree.</description> </item> <item> @@ -1960,18 +1936,6 @@ Normal Git Access Anyone can check code out of Git. You only need to specify a u </item> <item> - <title>SSHD Tips</title> - <link>https://mina.apache.org/sshd-project/tips.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/tips.html</guid> - <description>How to execute commands as processes on the server side? If you want the SSH server to support direct command execution, you need to configure it with a Factory which will allow that. -It can be done using the following code: -sshd.setCommandFactory(new ScpCommandFactory(new CommandFactory() { public Command createCommand(String command) { return new ProcessShellFactory(command.split(&lt;SPAN class=&#34;code-quote&#34;&gt;&#34; &#34;)).create(); } })); This way, you can use the following: -ssh -p 8202 localhost ls -l </description> - </item> - - <item> <title>SSL/TLS internals</title> <link>https://mina.apache.org/mina-project/technical-documentation/ssl-tls-internal.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> diff --git a/content/sitemap.xml b/content/sitemap.xml index 4806d48..3cc04de 100644 --- a/content/sitemap.xml +++ b/content/sitemap.xml @@ -438,6 +438,11 @@ </url> <url> + <loc>https://mina.apache.org/sshd-project/download_2.4.0.html</loc> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> + </url> + + <url> <loc>https://mina.apache.org/vysper-project/</loc> <lastmod>2020-02-24T11:41:02+01:00</lastmod> </url> @@ -599,7 +604,7 @@ <url> <loc>https://mina.apache.org/downloads-sshd.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> @@ -614,7 +619,7 @@ <url> <loc>https://mina.apache.org/sshd-project/embedding_ssh.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> @@ -803,11 +808,6 @@ </url> <url> - <loc>https://mina.apache.org/sshd-project/load_ssh_editor.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> - </url> - - <url> <loc>https://mina.apache.org/mina-project/technical-documentation/message-flow.html</loc> <lastmod>2020-02-24T11:41:02+01:00</lastmod> </url> @@ -913,33 +913,28 @@ </url> <url> - <loc>https://mina.apache.org/sshd-project/configuring_security.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> - </url> - - <url> <loc>https://mina.apache.org/sshd-project/contributors.html</loc> <lastmod>2020-02-27T13:50:48+01:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project/documentation.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project/downloads.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project/faq.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project/features.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> @@ -959,27 +954,17 @@ <url> <loc>https://mina.apache.org/sshd-project/</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> - </url> - - <url> - <loc>https://mina.apache.org/sshd-project/required_dependencies.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project/sources.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> - </url> - - <url> - <loc>https://mina.apache.org/sshd-project/tips.html</loc> - <lastmod>2020-02-24T11:41:02+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> <loc>https://mina.apache.org/sshd-project.html</loc> - <lastmod>2020-02-27T13:50:48+01:00</lastmod> + <lastmod>2020-06-22T17:28:16+02:00</lastmod> </url> <url> diff --git a/content/sshd-project/configuring_security.html b/content/sshd-project/configuring_security.html deleted file mode 100644 index 4cf3c76..0000000 --- a/content/sshd-project/configuring_security.html +++ /dev/null @@ -1,140 +0,0 @@ -<!DOCTYPE html> - -<html lang="en"> -<head> - <title>SSHD Configuring Security — Apache MINA</title> - - <link href="/assets/css/common.css" rel="stylesheet" type="text/css"/> - <link href="/assets/css/sshd.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<div id="container"> - <div id="header"> - <div id="subProjectsNavBar"> - <a href="/"> - - Apache MINA Project - - </a> - | - <a href="/mina-project/"> - - MINA - - </a> - | - <a href="/asyncweb-project/"> - - AsyncWeb - - </a> - | - <a href="/ftpserver-project/"> - - FtpServer - - </a> - | - <a href="/sshd-project/"> - - <strong>SSHD</strong> - - </a> - | - <a href="/vysper-project/"> - - Vysper - - </a> - </div> -</div> - - - <div id="content"> - <div id="leftColumn"> - <div id="navigation"> - <h5>Overview</h5> - <ul> - <li><a href="/sshd-project/index.html">Home</a> </li> - <li><a href="/sshd-project/features.html">Features</a> </li> - <li><a href="/sshd-project/documentation.html">Documentation</a></li> - <li><a href="/sshd-project/downloads.html">Downloads</a></li> - <li><a href="/sshd-project/sources.html">Sources</a></li> - <li><a href="/sshd-project/faq.html">FAQ</a></li> - </ul> - - <h5>Community</h5> - <ul> - <li><a href="/sshd-project/mailing_lists.html">Mailing Lists</a></li> - <li><a href="/sshd-project/getting_involved.html">Getting Involved</a></li> - <li><a href="/sshd-project/issue_tracking.html">Issue Tracking</a></li> - <li><a href="/sshd-project/contributors.html">Contributors</a></li> - <li><a href="https://www.apache.org/foundation/contributing.html">Contributing</a></li> - <li><a href="https://www.apache.org/licenses/">License</a></li> - <li><a href="https://www.apache.org/security/">Security</a></li> - </ul> - - <h5>Sponsorship</h5> - <ul> - <li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> - <li><a href="https://www.apache.org/">apache.org</a></li> - </ul> - </div> - </div> - <div id="rightColumn"> - - - - <h2 id="configuring-security">Configuring Security</h2> -<p>The SSHD server needs to be integrated and the security layer has to be customized to suit your needs. -This layer is pluggable and use the following interfaces:</p> -<ul> -<li><a href="http://svn.apache.org/repos/asf/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/PasswordAuthenticator.java">PasswordAuthenticator</a> for password based authentication</li> -<li><a href="http://svn.apache.org/repos/asf/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/PublickeyAuthenticator.java">PublickeyAuthenticator</a> for key based authentication</li> -</ul> -<p>Those custom classes can be configured on the SSHD server using the following code:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SshServer sshd <span style="color:#666">=</span> SshServer<span style="color:#666">.</span><span style="color:#b44">setUpDefaultServer</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span> -sshd<span style="color:#666">.</span><span style="color:#b44">setPasswordAuthenticator</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> MyPasswordAuthenticator<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">)</span><span style="color:#666">;</span> -sshd<span style="color:#666">.</span><span style="color:#b44">setPublickeyAuthenticator</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> MyPublickeyAuthenticator<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>If only one of those class is implemented, only the related authentication mechanism will be enabled.</p> -<h2 id="jaas-integration">JAAS integration</h2> -<p>SSHD provides a password based authentication that delegates to JAAS. -This can be configured in the following way:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SshServer sshd <span style="color:#666">=</span> SshServer<span style="color:#666">.</span><span style="color:#b44">setUpDefaultServer</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span> -JaasPasswordAuthenticator pswdAuth <span style="color:#666">=</span> <span style="color:#a2f;font-weight:bold">new</span> JaasPasswordAuthenticator<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span> -pswdAuth<span style="color:#666">.</span><span style="color:#b44">setDomain</span><span style="color:#666">(</span><span style="color:#b44">"myJaasDomain"</span><span style="color:#666">)</span><span style="color:#666">;</span> -sshd<span style="color:#666">.</span><span style="color:#b44">setPasswordAuthenticator</span><span style="color:#666">(</span>pswdAuth<span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>The domain name must be set to the JAAS domain that will be used for authentication.</p> - - - - - </div> - <div id="endContent"></div> - </div> - - <div id="footer"> - © 2003-2020, <a href="https://www.apache.org">The Apache Software Foundation</a> - <a href="/privacy-policy.html">Privacy Policy</a><br /> - Apache MINA, MINA, Apache Vysper, Vysper, Apache SSHd, SSHd, Apache FtpServer, FtpServer, Apache AsyncWeb, AsyncWeb, - Apache, the Apache feather logo, and the Apache Mina project logos are trademarks of The Apache Software Foundation. -</div> - -</div> - -<script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-11074178-1']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); -</script> - - -</body> - -</html> diff --git a/content/sshd-project/documentation.html b/content/sshd-project/documentation.html index b0fe877..78d08fb 100644 --- a/content/sshd-project/documentation.html +++ b/content/sshd-project/documentation.html @@ -87,18 +87,7 @@ <h1 id="apache-sshd-documentation">Apache SSHD documentation</h1> -<h2 id="resources">Resources</h2> -<ul> -<li><a href="apidocs/index.html">API JavaDocs</a></li> -</ul> -<h2 id="tutorials">Tutorials</h2> -<ul> -<li><a href="configuring_security.html">Configuring security</a></li> -<li><a href="embedding_ssh.html">Embedding SSHD in 5 minutes</a></li> -<li><a href="load_ssh_editor.html">Loading SSHD in Eclipse or IDEA</a></li> -<li><a href="required_dependencies.html">Required dependencies</a></li> -<li><a href="tips.html">Tips</a></li> -</ul> +<p>See <a href="https://github.com/apache/mina-sshd">https://github.com/apache/mina-sshd</a> for more informations.</p> diff --git a/content/sshd-project/required_dependencies.html b/content/sshd-project/download_2.4.0.html similarity index 65% rename from content/sshd-project/required_dependencies.html rename to content/sshd-project/download_2.4.0.html index 681ab06..001a949 100644 --- a/content/sshd-project/required_dependencies.html +++ b/content/sshd-project/download_2.4.0.html @@ -2,7 +2,7 @@ <html lang="en"> <head> - <title>SSHD Required dependencies — Apache MINA</title> + <title>Apache SSHD 2.4.0 Release — Apache MINA</title> <link href="/assets/css/common.css" rel="stylesheet" type="text/css"/> <link href="/assets/css/sshd.css" rel="stylesheet" type="text/css"/> @@ -86,14 +86,26 @@ - <h1 id="required-dependencies">Required dependencies</h1> -<p>SSHD has 2 compile-time dependencies:</p> + <h1 id="overview">Overview</h1> +<p>Apache Mina SSHD 2.4.0 contains a number of <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310849&version=12347242">enhancements and bug-fixes</a>.</p> +<h1 id="getting-the-distributions">Getting the Distributions</h1> <ul> -<li><a href="http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar">MINA Core 2.0.x</a> : <a href="http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar">http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar</a></li> -<li><a href="http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar">SLF4J API 1.6.4</a> : <a href="http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar">http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar</a></li> +<li>Source distributions: +<ul> +<li><a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz">Apache Mina SSHD 2.4.0 Sources (.tar.gz)</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.asc">PGP</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.sha1">SHA</a></li> +<li><a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip">Apache Mina SSHD 2.4.0 Sources (.zip)</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.asc">PGP</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.sha1">SHA</a></li> +</ul> +</li> +<li>Binary distributions: +<ul> +<li><a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz">Apache Mina SSHD 2.4.0 Binary (.tar.gz)</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.asc">PGP</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.sha1">SHA</a></li> +<li><a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip">Apache Mina SSHD 2.4.0 Binary (.zip)</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.asc">PGP</a> <a href="https://archive.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.sha1">SHA</a></li> +</ul> +</li> </ul> -<p>Note that since SSHD 0.9.0, the Mina Core library is optional when running in JDK 1.7 and SSHD will default to using nio2 if available.</p> -<p>To be able to run SSHD, you will also need one SLF4J Logger implementation. The simplest one is the one using java.util.logging underneath which can be downloaded at <a href="http://repo2.maven.org/maven2/org/slf4j/slf4j-jdk14/1.6.4/slf4j-jdk14-1.6.4.jar">http://repo2.maven.org/maven2/org/slf4j/slf4j-jdk14/1.6.4/slf4j-jdk14-1.6.4.jar</a></p> +<h1 id="release-notes">Release Notes</h1> +<p>Apache Mina SSHD 2.4.0 contains a few enhancements and bug-fixes. +Please report any feedback to <a href="mailto:us...@mina.apache.org">us...@mina.apache.org</a>.</p> diff --git a/content/sshd-project/downloads.html b/content/sshd-project/downloads.html index 19887b3..0ae986d 100644 --- a/content/sshd-project/downloads.html +++ b/content/sshd-project/downloads.html @@ -87,18 +87,18 @@ <h1 id="latest-sshd-releases">Latest SSHD Releases</h1> -<p>The latest release is the SSHD 2.4.0 release.</p> +<p>The latest release is the SSHD 2.5.0 release.</p> <ul> <li>Source distributions: <ul> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz">Apache Mina SSHD 2.4.0 Sources (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.tar.gz.sha1">SHA</a></li> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip">Apache Mina SSHD 2.4.0 Sources (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0-src.zip.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz">Apache Mina SSHD 2.5.0 Sources (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.tar.gz.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip">Apache Mina SSHD 2.5.0 Sources (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0-src.zip.sha1">SHA</a></li> </ul> </li> <li>Binary distributions: <ul> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz">Apache Mina SSHD 2.4.0 Binary (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.tar.gz.sha1">SHA</a></li> -<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.4.0/apache-sshd-2.4.0.zip">Apache Mina SSHD 2.4.0 Binary (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.4.0/apache-sshd-2.4.0.zip.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0.tar.gz">Apache Mina SSHD 2.5.0 Binary (.tar.gz)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.tar.gz.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.tar.gz.sha1">SHA</a></li> +<li><a href="https://www.apache.org/dyn/closer.lua/mina/sshd/2.5.0/apache-sshd-2.5.0.zip">Apache Mina SSHD 2.5.0 Binary (.zip)</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.zip.asc">PGP</a> <a href="https://www.apache.org/dist/mina/sshd/2.5.0/apache-sshd-2.5.0.zip.sha1">SHA</a></li> </ul> </li> </ul> @@ -133,6 +133,7 @@ <li><a href="download_2.1.0.html">SSHD 2.1.0</a></li> <li><a href="download_2.2.0.html">SSHD 2.2.0</a></li> <li><a href="download_2.3.0.html">SSHD 2.3.0</a></li> +<li><a href="download_2.4.0.html">SSHD 2.4.0</a></li> </ul> diff --git a/content/sshd-project/embedding_ssh.html b/content/sshd-project/embedding_ssh.html index e3ae41c..a15c2f6 100644 --- a/content/sshd-project/embedding_ssh.html +++ b/content/sshd-project/embedding_ssh.html @@ -87,40 +87,8 @@ <h1 id="embedding-sshd-in-5-minutes">Embedding SSHD in 5 minutes</h1> -<p>SSHD is designed to be easily embedded in your application as an SSH server. SSH Server needs to be configured before it can be started. Essentially, there are three steps for creating the Server</p> -<ul> -<li>Create an instance of SshServer class</li> -<li>Configure the Server</li> -<li>Start the Server</li> -</ul> -<p>Lets look at all these steps. Refer to this class for details <a href="http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java?view=markup">SshServer.java</a></p> -<h2 id="creating-an-instance-of-sshserver">Creating an instance of SshServer</h2> -<p>This is as simple as creating a new object</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">SshServer sshd <span style="color:#666">=</span> SshServer<span style="color:#666">.</span><span style="color:#b44">setUpDefaultServer</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>It will configure the server with sensible defaults for ciphers, macs, key exchange algorithm, etc… -If you want a different behavior, you can look at the code of the setUpDefaultServer method and configure the SSH server the way you need.</p> -<h2 id="configuring-the-server">Configuring the Server</h2> -<p>There are a few things that needs to be configured on the server before being able to actually use it:</p> -<h3 id="port">Port</h3> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setPort</span><span style="color:#666">(</span>22<span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><h3 id="keypairprovider">KeyPairProvider</h3> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setKeyPairProvider</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> SimpleGeneratorHostKeyProvider<span style="color:#666">(</span><span style="color:#b44">"hostkey.ser"</span><span style="color:#666">)</span><span style="color:#666 [...] -</code></pre></div><p>It’s usually a good idea to give the host key generator a path, so that if you restart the SSHD server, the same key will be used to authenticate the server.</p> -<h3 id="shellfactory">ShellFactory</h3> -<p>That’s the part you will usually have to write to customize the SSHD server. The shell factory will be used to create a new shell each time a user logs in. SSHD provides a single implementation that you can use if you want. This implementation will create a process and delegate everything to it, so it’s mostly useful to launch the OS native shell.</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setShellFactory</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> ProcessShellFactory<span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> String<span style="color:#666">[</span><span style="color:#666">]</spa [...] -</code></pre></div><p>Note that the ShellFactory is not required. If none is configured, any request for a shell will be denied to users.</p> -<h3 id="commandfactory">CommandFactory</h3> -<p>The CommandFactory can be used in addition to the ShellFactory (it can also be used instead of the ShellFactory). The CommandFactory is used when direct commands are sent to the SSH server, as this is the case when running <strong>ssh localhost shutdown</strong> or <strong>scp xxx</strong></p> -<p>SSHD provides a CommandFactory to support SCP that can be configure in the following way:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setCommandFactory</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> ScpCommandFactory<span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>You can also use the ScpCommandFactory on top of your own CommandFactory:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setCommandFactory</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> ScpCommandFactory<span style="color:#666">(</span>myCommandFactory<span style="color:#666">)</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>Note that the CommandFactory is optional. If none is configured, any direct command sent by users will be rejected.</p> -<h2 id="start-the-server">Start the Server</h2> -<p>Once we have configured the Server, we need to call start(), to start the Server</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">start</span><span style="color:#666">(</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div> +<p>See <a href="https://github.com/apache/mina-sshd">https://github.com/apache/mina-sshd</a> for more informations.</p> + diff --git a/content/sshd-project/faq.html b/content/sshd-project/faq.html index 696e103..7438e75 100644 --- a/content/sshd-project/faq.html +++ b/content/sshd-project/faq.html @@ -87,7 +87,7 @@ <h1 id="faq">FAQ</h1> -<p>TODO</p> +<p>See <a href="https://github.com/apache/mina-sshd">https://github.com/apache/mina-sshd</a> for more informations.</p> diff --git a/content/sshd-project/features.html b/content/sshd-project/features.html index dac5e1e..18fa371 100644 --- a/content/sshd-project/features.html +++ b/content/sshd-project/features.html @@ -87,7 +87,7 @@ <h1 id="features">Features</h1> -<p>TODO</p> +<p>The list of features implemented by Mina SSHD is available at <a href="https://github.com/apache/mina-sshd">https://github.com/apache/mina-sshd</a>.</p> diff --git a/content/sshd-project/index.html b/content/sshd-project/index.html index 4205184..05a3f76 100644 --- a/content/sshd-project/index.html +++ b/content/sshd-project/index.html @@ -90,6 +90,7 @@ <p>Apache SSHD is a 100% pure java library to support the SSH protocols on both the client and server side. This library is based on <a href="http://mina.apache.org/">Apache MINA</a>, a scalable and high performance asynchronous IO library.</p> <p>SSHD does not really 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.</p> +<p>The technical documentation is maintained in the <a href="https://github.com/apache/mina-sshd">source tree</a>.</p> diff --git a/content/sshd-project/index.xml b/content/sshd-project/index.xml index 0faad4e..b8a23a6 100644 --- a/content/sshd-project/index.xml +++ b/content/sshd-project/index.xml @@ -281,25 +281,22 @@ Getting the Distributions Source distributions: Apache Mina SSHD 2.3.0 Sources </item> <item> - <title>Embedding SSHD in 5 minutes</title> - <link>https://mina.apache.org/sshd-project/embedding_ssh.html</link> + <title>Apache SSHD 2.4.0 Release</title> + <link>https://mina.apache.org/sshd-project/download_2.4.0.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - <guid>https://mina.apache.org/sshd-project/embedding_ssh.html</guid> - <description>Embedding SSHD in 5 minutes SSHD is designed to be easily embedded in your application as an SSH server. SSH Server needs to be configured before it can be started. Essentially, there are three steps for creating the Server - Create an instance of SshServer class Configure the Server Start the Server Lets look at all these steps. Refer to this class for details SshServer.java -Creating an instance of SshServer This is as simple as creating a new object</description> + <guid>https://mina.apache.org/sshd-project/download_2.4.0.html</guid> + <description>Overview Apache Mina SSHD 2.4.0 contains a number of enhancements and bug-fixes. +Getting the Distributions Source distributions: Apache Mina SSHD 2.4.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.4.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Binary (.zip) PGP SHA Release Notes Apache Mina SSHD 2.4.0 contains a few enhancements and bug-fixes.</description> </item> <item> - <title>Loading SSHD in Eclipse or IDEA</title> - <link>https://mina.apache.org/sshd-project/load_ssh_editor.html</link> + <title>Embedding SSHD in 5 minutes</title> + <link>https://mina.apache.org/sshd-project/embedding_ssh.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - <guid>https://mina.apache.org/sshd-project/load_ssh_editor.html</guid> - <description>Loading SSHD in Eclipse or IDEA If you want to debug or develop on SSHD, chances are you want to load it in your IDE. Most IDE now have some maven support (either natively or through plugins), but if you don&rsquo;t have those plugins installed, you can create the required project files using one of the following command: -mvn eclipse:eclipse or -mvn idea:idea If you want to have the source code for the various dependencies available for debugging, you can add the -DdownloadSources=true parameter on the command line.</description> + <guid>https://mina.apache.org/sshd-project/embedding_ssh.html</guid> + <description>Embedding SSHD in 5 minutes See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -316,17 +313,6 @@ mvn idea:idea If you want to have the source code for the various dependencies </item> <item> - <title>SSHD Configuring Security</title> - <link>https://mina.apache.org/sshd-project/configuring_security.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/configuring_security.html</guid> - <description>Configuring Security The SSHD server needs to be integrated and the security layer has to be customized to suit your needs. This layer is pluggable and use the following interfaces: - PasswordAuthenticator for password based authentication PublickeyAuthenticator for key based authentication Those custom classes can be configured on the SSHD server using the following code: -SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(new MyPasswordAuthenticator()); sshd.setPublickeyAuthenticator(new MyPublickeyAuthenticator()); If only one of those class is implemented, only the related authentication mechanism will be enabled.</description> - </item> - - <item> <title>SSHD Contributors</title> <link>https://mina.apache.org/sshd-project/contributors.html</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> @@ -343,7 +329,7 @@ SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(n <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/documentation.html</guid> - <description>Apache SSHD documentation Resources API JavaDocs Tutorials Configuring security Embedding SSHD in 5 minutes Loading SSHD in Eclipse or IDEA Required dependencies Tips </description> + <description>Apache SSHD documentation See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -352,8 +338,8 @@ SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPasswordAuthenticator(n <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/downloads.html</guid> - <description>Latest SSHD Releases The latest release is the SSHD 2.4.0 release. - Source distributions: Apache Mina SSHD 2.4.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.4.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.4.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. + <description>Latest SSHD Releases The latest release is the SSHD 2.5.0 release. + Source distributions: Apache Mina SSHD 2.5.0 Sources (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Sources (.zip) PGP SHA Binary distributions: Apache Mina SSHD 2.5.0 Binary (.tar.gz) PGP SHA Apache Mina SSHD 2.5.0 Binary (.zip) PGP SHA Development snapshots You can build the latest version from sources. Previous releases SSHD 0.1.0 SSHD 0.</description> </item> @@ -363,7 +349,7 @@ Previous releases SSHD 0.1.0 SSHD 0.</description> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/faq.html</guid> - <description>FAQ TODO</description> + <description>FAQ See https://github.com/apache/mina-sshd for more informations.</description> </item> <item> @@ -372,7 +358,7 @@ Previous releases SSHD 0.1.0 SSHD 0.</description> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/sshd-project/features.html</guid> - <description>Features TODO</description> + <description>Features The list of features implemented by Mina SSHD is available at https://github.com/apache/mina-sshd.</description> </item> <item> @@ -414,18 +400,8 @@ For Users Please use this list for any questions regarding how to use SSHD. <guid>https://mina.apache.org/sshd-project/</guid> <description>Overview Apache SSHD is a 100% pure java library to support the SSH protocols on both the client and server side. This library is based on Apache MINA, a scalable and high performance asynchronous IO library. -SSHD does not really 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.</description> - </item> - - <item> - <title>SSHD Required dependencies</title> - <link>https://mina.apache.org/sshd-project/required_dependencies.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/required_dependencies.html</guid> - <description>Required dependencies SSHD has 2 compile-time dependencies: - MINA Core 2.0.x : http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar SLF4J API 1.6.4 : http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar Note that since SSHD 0.9.0, the Mina Core library is optional when running in JDK 1.7 and SSHD will default to using nio2 if available. -To be able to run SSHD, you will also need one SLF4J Logger implementation. The simplest one is the one using java.util.logging underneath which can be downloaded at http://repo2.</description> +SSHD does not really 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 technical documentation is maintained in the source tree.</description> </item> <item> @@ -438,17 +414,5 @@ To be able to run SSHD, you will also need one SLF4J Logger implementation. The Normal Git Access Anyone can check code out of Git. You only need to specify a username and password in order to update the Git repository, and only MINA committers have the permissions to do that. We run Git over standard HTTPS, so hopefully you won&rsquo;t have problems with intervening firewalls.</description> </item> - <item> - <title>SSHD Tips</title> - <link>https://mina.apache.org/sshd-project/tips.html</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://mina.apache.org/sshd-project/tips.html</guid> - <description>How to execute commands as processes on the server side? If you want the SSH server to support direct command execution, you need to configure it with a Factory which will allow that. -It can be done using the following code: -sshd.setCommandFactory(new ScpCommandFactory(new CommandFactory() { public Command createCommand(String command) { return new ProcessShellFactory(command.split(&lt;SPAN class=&#34;code-quote&#34;&gt;&#34; &#34;)).create(); } })); This way, you can use the following: -ssh -p 8202 localhost ls -l </description> - </item> - </channel> </rss> \ No newline at end of file diff --git a/content/sshd-project/load_ssh_editor.html b/content/sshd-project/load_ssh_editor.html deleted file mode 100644 index 46fc46a..0000000 --- a/content/sshd-project/load_ssh_editor.html +++ /dev/null @@ -1,130 +0,0 @@ -<!DOCTYPE html> - -<html lang="en"> -<head> - <title>Loading SSHD in Eclipse or IDEA — Apache MINA</title> - - <link href="/assets/css/common.css" rel="stylesheet" type="text/css"/> - <link href="/assets/css/sshd.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<div id="container"> - <div id="header"> - <div id="subProjectsNavBar"> - <a href="/"> - - Apache MINA Project - - </a> - | - <a href="/mina-project/"> - - MINA - - </a> - | - <a href="/asyncweb-project/"> - - AsyncWeb - - </a> - | - <a href="/ftpserver-project/"> - - FtpServer - - </a> - | - <a href="/sshd-project/"> - - <strong>SSHD</strong> - - </a> - | - <a href="/vysper-project/"> - - Vysper - - </a> - </div> -</div> - - - <div id="content"> - <div id="leftColumn"> - <div id="navigation"> - <h5>Overview</h5> - <ul> - <li><a href="/sshd-project/index.html">Home</a> </li> - <li><a href="/sshd-project/features.html">Features</a> </li> - <li><a href="/sshd-project/documentation.html">Documentation</a></li> - <li><a href="/sshd-project/downloads.html">Downloads</a></li> - <li><a href="/sshd-project/sources.html">Sources</a></li> - <li><a href="/sshd-project/faq.html">FAQ</a></li> - </ul> - - <h5>Community</h5> - <ul> - <li><a href="/sshd-project/mailing_lists.html">Mailing Lists</a></li> - <li><a href="/sshd-project/getting_involved.html">Getting Involved</a></li> - <li><a href="/sshd-project/issue_tracking.html">Issue Tracking</a></li> - <li><a href="/sshd-project/contributors.html">Contributors</a></li> - <li><a href="https://www.apache.org/foundation/contributing.html">Contributing</a></li> - <li><a href="https://www.apache.org/licenses/">License</a></li> - <li><a href="https://www.apache.org/security/">Security</a></li> - </ul> - - <h5>Sponsorship</h5> - <ul> - <li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> - <li><a href="https://www.apache.org/">apache.org</a></li> - </ul> - </div> - </div> - <div id="rightColumn"> - - - - <h1 id="loading-sshd-in-eclipse-or-idea">Loading SSHD in Eclipse or IDEA</h1> -<p>If you want to debug or develop on SSHD, chances are you want to load it in your IDE. Most IDE now have some maven support (either natively or through plugins), but if you don’t have those plugins installed, you can create the required project files using one of the following command:</p> -<pre><code>mvn eclipse:eclipse -</code></pre> -<p>or</p> -<pre><code>mvn idea:idea -</code></pre> -<p>If you want to have the source code for the various dependencies available for debugging, you can add the -DdownloadSources=true parameter on the command line.</p> -<p>Next step is to load the generated project from Eclipse or IDEA.</p> -<p>Note that you may have to set up some global variables to point to the local maven repository.</p> - - - - - </div> - <div id="endContent"></div> - </div> - - <div id="footer"> - © 2003-2020, <a href="https://www.apache.org">The Apache Software Foundation</a> - <a href="/privacy-policy.html">Privacy Policy</a><br /> - Apache MINA, MINA, Apache Vysper, Vysper, Apache SSHd, SSHd, Apache FtpServer, FtpServer, Apache AsyncWeb, AsyncWeb, - Apache, the Apache feather logo, and the Apache Mina project logos are trademarks of The Apache Software Foundation. -</div> - -</div> - -<script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-11074178-1']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); -</script> - - -</body> - -</html> diff --git a/content/sshd-project/sources.html b/content/sshd-project/sources.html index b0fc184..4e8206f 100644 --- a/content/sshd-project/sources.html +++ b/content/sshd-project/sources.html @@ -101,7 +101,7 @@ <p>You will not be able to commit into the project if you are not a committer.</p> <h1 id="documentation">Documentation</h1> <p>The Website documentation is published via Apache SVN pubsub. The website source resides at</p> -<p><a href="https://svn.apache.org/repos/asf/mina/site/trunk/content/sshd-project/">https://svn.apache.org/repos/asf/mina/site/trunk/content/sshd-project/</a></p> +<p><a href="https://github.com/apache/mina-site/">https://github.com/apache/mina-site/</a></p> diff --git a/content/sshd-project/tips.html b/content/sshd-project/tips.html deleted file mode 100644 index e35aee8..0000000 --- a/content/sshd-project/tips.html +++ /dev/null @@ -1,130 +0,0 @@ -<!DOCTYPE html> - -<html lang="en"> -<head> - <title>SSHD Tips — Apache MINA</title> - - <link href="/assets/css/common.css" rel="stylesheet" type="text/css"/> - <link href="/assets/css/sshd.css" rel="stylesheet" type="text/css"/> -</head> -<body> -<div id="container"> - <div id="header"> - <div id="subProjectsNavBar"> - <a href="/"> - - Apache MINA Project - - </a> - | - <a href="/mina-project/"> - - MINA - - </a> - | - <a href="/asyncweb-project/"> - - AsyncWeb - - </a> - | - <a href="/ftpserver-project/"> - - FtpServer - - </a> - | - <a href="/sshd-project/"> - - <strong>SSHD</strong> - - </a> - | - <a href="/vysper-project/"> - - Vysper - - </a> - </div> -</div> - - - <div id="content"> - <div id="leftColumn"> - <div id="navigation"> - <h5>Overview</h5> - <ul> - <li><a href="/sshd-project/index.html">Home</a> </li> - <li><a href="/sshd-project/features.html">Features</a> </li> - <li><a href="/sshd-project/documentation.html">Documentation</a></li> - <li><a href="/sshd-project/downloads.html">Downloads</a></li> - <li><a href="/sshd-project/sources.html">Sources</a></li> - <li><a href="/sshd-project/faq.html">FAQ</a></li> - </ul> - - <h5>Community</h5> - <ul> - <li><a href="/sshd-project/mailing_lists.html">Mailing Lists</a></li> - <li><a href="/sshd-project/getting_involved.html">Getting Involved</a></li> - <li><a href="/sshd-project/issue_tracking.html">Issue Tracking</a></li> - <li><a href="/sshd-project/contributors.html">Contributors</a></li> - <li><a href="https://www.apache.org/foundation/contributing.html">Contributing</a></li> - <li><a href="https://www.apache.org/licenses/">License</a></li> - <li><a href="https://www.apache.org/security/">Security</a></li> - </ul> - - <h5>Sponsorship</h5> - <ul> - <li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> - <li><a href="https://www.apache.org/">apache.org</a></li> - </ul> - </div> - </div> - <div id="rightColumn"> - - - - <h1 id="how-to-execute-commands-as-processes-on-the-server-side">How to execute commands as processes on the server side?</h1> -<p>If you want the SSH server to support direct command execution, you need to configure it with a Factory<Command> which will allow that.</p> -<p>It can be done using the following code:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">sshd<span style="color:#666">.</span><span style="color:#b44">setCommandFactory</span><span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> ScpCommandFactory<span style="color:#666">(</span><span style="color:#a2f;font-weight:bold">new</span> CommandFactory<span style="color:#666">(</span><span style="color:#666 [...] - <span style="color:#a2f;font-weight:bold">public</span> Command <span style="color:#00a000">createCommand</span><span style="color:#666">(</span>String command<span style="color:#666">)</span> <span style="color:#666">{</span> - <span style="color:#a2f;font-weight:bold">return</span> <span style="color:#a2f;font-weight:bold">new</span> ProcessShellFactory<span style="color:#666">(</span>command<span style="color:#666">.</span><span style="color:#b44">split</span><span style="color:#666">(</span><span style="color:#666"><</span>SPAN class<span style="color:#666">=</span><span style="color:#b44">"code-quote"</span><span style="color:#666">></span><span style="color:#b44">" "</span><sp [...] - <span style="color:#666">}</span> -<span style="color:#666">}</span><span style="color:#666">)</span><span style="color:#666">)</span><span style="color:#666">;</span> -</code></pre></div><p>This way, you can use the following:</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">ssh -p <span style="color:#666">8202</span> localhost ls -l -</code></pre></div> - - - - </div> - <div id="endContent"></div> - </div> - - <div id="footer"> - © 2003-2020, <a href="https://www.apache.org">The Apache Software Foundation</a> - <a href="/privacy-policy.html">Privacy Policy</a><br /> - Apache MINA, MINA, Apache Vysper, Vysper, Apache SSHd, SSHd, Apache FtpServer, FtpServer, Apache AsyncWeb, AsyncWeb, - Apache, the Apache feather logo, and the Apache Mina project logos are trademarks of The Apache Software Foundation. -</div> - -</div> - -<script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-11074178-1']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); -</script> - - -</body> - -</html>