Re: SCP commands redirect to SFTP subsystem

2020-05-22 Thread Lyor Goldstein
>> Now our requirement is once we use SCP from this filezila, winscp,putty then also we need to call same class and same method as above for SFTP. Why would you want to do that ? SSHD supports SCP no need to go through SFTP... SshServer server = SshServer.setupDefaultServer(); ...more initia

Urgent Help : SCP commands redirect to SFTP subsystem

2020-05-22 Thread SANDEEP MALI
Hi Team, I am working on project where SSHD mina is used, We have one requirement where I have multiple subsystems and based on configuration it should select. So it is working fine. So if i use filezila, winscp,putty for SFTP command then it calls internaly "AbstractSftpSubsystemHelper" class

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-22 Thread Sandeep (Jira)
via email. > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.apache.org/jira/browse/SSHD-994 > Project: MINA SSHD > Issue Type: New Feature >

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-22 Thread Lyor Goldstein (Jira)
here are issues we currently consider more pressing. I do suggest you send a question to the dev@mina.apache.org mailing list and perhaps other members of the community will be able to provide you with hints and guidance. > SCP commands redirect to SFTP su

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-21 Thread Sandeep (Jira)
not able to implement it as I am new to this SFTP exploration.  Please help me for the same. > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.apache.org/jira/browse/SSHD-994 &g

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-21 Thread Lyor Goldstein (Jira)
n my initial comment ? It should work quite smoothly... > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.apache.org/jira/browse/SSHD-994 > Project: MINA SSHD >

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-21 Thread Sandeep (Jira)
t no luck. do we have some working sample code where scp commonds will redirect to sftp subsystem? > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.apache.org/j

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-16 Thread Sandeep (Jira)
de, I have not added your suggested code. So am doing it. if you can quickly guild me in same code then it will be helpful. > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.ap

[jira] [Comment Edited] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-16 Thread Sandeep (Jira)
ted code. So am doing it. if you can quickly guild me in same code then it will be helpful. > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 > URL: https://issues.apache.org/jira/browse/SS

[jira] [Updated] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-16 Thread Sandeep (Jira)
[ https://issues.apache.org/jira/browse/SSHD-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep updated SSHD-994: - Attachment: image-2020-05-16-12-32-27-918.png > SCP commands redirect to SFTP subsys

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Lyor Goldstein (Jira)
eems identical to the default one. * Finally, all the code does is initialize shell, SCP and SFTP - it does not redirect SCP to SFTP as this issue implies > SCP commands redirect to SFTP subsystem > --- > > Key: SSHD-994 >

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Sandeep (Jira)
heck your suggestions in above comment.  Meanwhile I have attached my poc. It will be great. if you look at it and give your guidance/ suggestion or code snippet. [^server_scp_sftp_poc.zip] > SCP commands redirect to SFTP subsystem > --- > >

[jira] [Updated] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Sandeep (Jira)
[ https://issues.apache.org/jira/browse/SSHD-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep updated SSHD-994: - Attachment: server_scp_sftp_poc.zip > SCP commands redirect to SFTP subsys

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Lyor Goldstein (Jira)
o re-direct to the local file system and which one to delegate SFTP - it is a bit trickier, but not too complex. If you do want I can look over your code once you think you have implemented it. > SCP commands redirect to SFTP subsystem > --- > >

[jira] [Resolved] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lyor Goldstein resolved SSHD-994. - Resolution: Implemented > SCP commands redirect to SFTP subsys

[jira] [Commented] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Lyor Goldstein (Jira)
stem(...); } else { return NativeFileSystemFactory.INSTANCE.createFileSystem(session); } } }; SshServer server = SshServer.setupDefaultServer(); server.setFileSystemFactory(fsFactory); server.start(); {code} > SCP commands redirect to SFTP su

[jira] [Assigned] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lyor Goldstein reassigned SSHD-994: --- Assignee: Lyor Goldstein > SCP commands redirect to SFTP subsys

[jira] [Created] (SSHD-994) SCP commands redirect to SFTP subsystem

2020-05-15 Thread Sandeep (Jira)
Sandeep created SSHD-994: Summary: SCP commands redirect to SFTP subsystem Key: SSHD-994 URL: https://issues.apache.org/jira/browse/SSHD-994 Project: MINA SSHD Issue Type: New Feature Affects