Hi,
I am new in Apache mina and have just follow the embedded server tutorial
but I have some problem in it.
* When I typed Ctrl+C from the client nix based terminal It prints some
unicodes but in real server its not print on clients terminal How Can I
handle this in my sshd server or which
How do you do that ?
I am connecting multiple client with the servers i-e I open 2 terminals and
ssh the server with both of them.
I open a new thread at every new connection like this
public static void main(String[] args) {
new Thread(new SshDaemon()).start();
}
/How do you do that ? /
I am connecting multiple client with the servers i-e I open 2 terminals and
ssh the server with both of them.
I open a new thread at every new connection like this
public static void main(String[] args) {
new Thread(new SshDaemon()).start();
}
Hi,
I am new in Apache mina and have just follow the embedded server tutorial
but I have some problem in it.
* When I typed Ctrl+C from the client nix based terminal It prints some
unicodes but in real server its not print on clients terminal How Can I
handle this in my sshd server or which
You need to configure the terminal correctly on the client and server side,
you also need to process the signals correctly.
For example, Ctrl+C is just the character 0x03 in the input stream. Wether
you should terminate or not is your decision. Del, backspace and tab are
also characters in the
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Fridland updated SSHD-731:
Description:
After implementing sftp access control by overriding
Boris Fridland created SSHD-731:
---
Summary: Vanorability in SimpleAccessControlSftpEventListener
implementation
Key: SSHD-731
URL: https://issues.apache.org/jira/browse/SSHD-731
Project: MINA SSHD
Hi !
just for you to know, I may be MIA for a while, or at least way less
responsive : My wife just gave birth to our wonderful daughter today,
and I'm afraid it's going to be our priority number one in the next few
weeks :-)
Thanks !
--
Emmanuel Lecharny
Symas.com
directory.apache.org
The answer is very long and complex however here are a few pointers
- See Signal(s) and how to register for them
- Do some research into reading from the peer input stream and detecting key
combinations and/or special characters.
From: waseem.farooqui
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-731:
Description:
After implementing sftp access control by overriding
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-731:
Priority: Minor (was: Major)
> Vulnerability in SimpleAccessControlSftpEventListener implementation
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-731:
Environment: (was:
org.apache.sshd
sshd-core
Seems like the wrong way - the SSHDServer is a singleton and should be created
only once (!). Please read the documentation on the MINA side about how to set
up a server and how to configure command/shell factories.
From: waseem.farooqui
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on SSHD-731 started by Goldstein Lyor.
---
> Vulnerability in SimpleAccessControlSftpEventListener implementation
>
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor reassigned SSHD-731:
---
Assignee: Goldstein Lyor
> Vulnerability in SimpleAccessControlSftpEventListener
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-731:
Affects Version/s: 1.3.0
> Vulnerability in SimpleAccessControlSftpEventListener implementation
>
Congrats to you and your wife !
Enjoy !
2017-03-02 15:15 GMT+01:00 Emmanuel Lécharny :
> Hi !
>
>
> just for you to know, I may be MIA for a while, or at least way less
> responsive : My wife just gave birth to our wonderful daughter today,
> and I'm afraid it's going to be
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-731.
-
Resolution: Fixed
Fix Version/s: 1.5.0
> Vulnerability in
[
https://issues.apache.org/jira/browse/SSHD-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15892724#comment-15892724
]
Goldstein Lyor commented on SSHD-731:
-
You are right about the behavior - I am working on a fix,
[
https://issues.apache.org/jira/browse/SSHD-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-730:
Priority: Minor (was: Major)
> Relative symbolic links with .. is not resolved properly by sftp
[
https://issues.apache.org/jira/browse/SSHD-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15893717#comment-15893717
]
Goldstein Lyor commented on SSHD-730:
-
Please clarify the problem some more - specifically what is meant
Congratulations :)
This is most important duty :)
WBR, Maxim
(from mobile, sorry for the typos)
On Mar 2, 2017 21:15, "Emmanuel Lécharny" wrote:
> Hi !
>
>
> just for you to know, I may be MIA for a while, or at least way less
> responsive : My wife just gave birth to our
Yes I research on reading from the input stream IN case of Ctrl+c terminal
sends 3 as a byte data and same in case of others.
But should I handle all the special inputs myself or is there any class ?
I have search a lot for its example but not find any.
--
View this message in context:
SSHd won't do anything about it, it simply focuses on transporting the data
and conveying all the needed informations.
It's the responsibility of the shell to implement things correctly, so the
only thing I can do (and did already) is to point you to a java shell which
is doing this. If you write
Closing this vote with 3 binding +1s.
I'll publish the artifacts asap.
2017-02-28 18:13 GMT+01:00 Lyor Goldstein :
> +1
>
> Proper disclosure: I am the one who made most of the changes and initiated
> the vote (through Guillaume).
>
--
25 matches
Mail list logo