[jira] [Created] (SSHD-864) Provide initial private key resource object used to read its data when loading a key

2018-11-14 Thread Goldstein Lyor (JIRA)
Goldstein Lyor created SSHD-864:
---

 Summary: Provide initial private key resource object used to read 
its data when loading a key
 Key: SSHD-864
 URL: https://issues.apache.org/jira/browse/SSHD-864
 Project: MINA SSHD
  Issue Type: Improvement
Affects Versions: 2.1.1
Reporter: Goldstein Lyor
Assignee: Goldstein Lyor


The current code propagates only a string representation of the "source" of a 
private key's data when it is being read. This source however, could be a 
{{Path}}, {{URL}}, {{URI}} or just a plain old path string. This information is 
"lost" when the code reaches supporting interfaces such as the 
{{FilePasswordProvider}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (SSHD-865) Use lazy-loading for keys specified in the HostConfigEntry

2018-11-14 Thread Goldstein Lyor (JIRA)
Goldstein Lyor created SSHD-865:
---

 Summary: Use lazy-loading for keys specified in the HostConfigEntry
 Key: SSHD-865
 URL: https://issues.apache.org/jira/browse/SSHD-865
 Project: MINA SSHD
  Issue Type: Improvement
Affects Versions: 2.1.1
Reporter: Goldstein Lyor
Assignee: Goldstein Lyor


Following SSHD-860 key loading occurs lazily - thus encrypted keys password is 
not requested until the key is actually needed. The exception to this rule are 
keys specified as part of a {{HostConfigEntry}} specified in an [ssh_config 
file|http://www.gsp.com/cgi-bin/man.cgi?topic=ssh_config].

h5. Implementation details

* Need to change {{SshClient#loadClientIdentities}} to return a 
{{KeyPairProvider}} that is propagated all the way to 
{{SshClient#onConnectOperationComplete}}.
* The code in {{SshClient#onConnectOperationComplete}} should check after 
{{setupDefaultSessionIdentities}} if there is a non-empty {{KeyPairProvider}} 
propagated and *aggregate* it with any already set such provider on the session



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SSHD-863) Forwarding sockets

2018-11-14 Thread Goldstein Lyor (JIRA)


[ 
https://issues.apache.org/jira/browse/SSHD-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687488#comment-16687488
 ] 

Goldstein Lyor commented on SSHD-863:
-

* What does it mean {quote}to forward from/to socket to/from port{quote} ? How 
is it different than SSH tunneling ?
* Can you provide some links to documentations of standards (even if de-facto 
ones) or code example how this is done by other libraries ? 

>  Forwarding sockets
> ---
>
> Key: SSHD-863
> URL: https://issues.apache.org/jira/browse/SSHD-863
> Project: MINA SSHD
>  Issue Type: Improvement
>Affects Versions: 2.1.0
>Reporter: Björn Kautler
>Priority: Major
>
> Would be nice if MINA SSHD also supports forwarding sockets, not only ports.
>  Currently you can only forward from port to port, but SSH now can do from 
> port to socket, from socket to port, from port to port and from port to 
> socket.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (SSHD-863) Forwarding sockets

2018-11-14 Thread JIRA
Björn Kautler created SSHD-863:
--

 Summary:  Forwarding sockets
 Key: SSHD-863
 URL: https://issues.apache.org/jira/browse/SSHD-863
 Project: MINA SSHD
  Issue Type: Improvement
Affects Versions: 2.1.0
Reporter: Björn Kautler


Would be nice if MINA SSHD also supports forwarding sockets, not only ports.
 Currently you can only forward from port to port, but SSH now can do from port 
to socket, from socket to port, from port to port and from port to socket.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Issue Comment Deleted] (SSHD-862) Provide session context to FilePasswordProvider

2018-11-14 Thread Goldstein Lyor (JIRA)


 [ 
https://issues.apache.org/jira/browse/SSHD-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Goldstein Lyor updated SSHD-862:

Comment: was deleted

(was: The issue of propagating the session context (where available) to the 
location where the {{FilePasswordProvider}} can use it is quite complex - 
requires many API changes. Will consider doing it in the future should a need 
arise (or more time available).)

> Provide session context to FilePasswordProvider
> ---
>
> Key: SSHD-862
> URL: https://issues.apache.org/jira/browse/SSHD-862
> Project: MINA SSHD
>  Issue Type: Improvement
>Affects Versions: 2.1.0
>Reporter: Goldstein Lyor
>Assignee: Goldstein Lyor
>Priority: Major
>
> Provide the session context (if known) to the {{FilePasswordProvider}} - 
> e.g., decide on different behavior based on the session attributes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)