[
https://issues.apache.org/jira/browse/SSHD-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-661.
---------------------------------
Resolution: Not A Problem
Fix Version/s: 1.1.0
The documentation is just a *skeleton* code - there are quite a few details
that depend on *what* you want to use the client for - shell, scp, sftp, simple
command, etc... Please look at _SshClient#main_ as to how to set up the client
for using as a remote shell or command. If you are interested in SCP or SFTP,
look at _SftpCommand#main_ and/or _DefaultScpCommand#main_ for examples.
I strongly recommend looking at these examples in the *latest* code on
[Github|https://github.com/apache/mina-sshd]
> The sample code in teh JavaDoc section of org/apache/sshd/SshClient.java
> generates compilation errors.
> ------------------------------------------------------------------------------------------------------
>
> Key: SSHD-661
> URL: https://issues.apache.org/jira/browse/SSHD-661
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Frederic Sutter
> Priority: Minor
> Fix For: 1.1.0
>
>
> Hi,
> The sample code in the JavaDoc section of org/apache/sshd/SshClient.java
> (line 135) generates compilation errors.
> For instance:
> ClientSession session = client.connect(login, host, port).await().getSession()
> ClientChannel.CLOSED
> Many thanks
> Frédéric
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)