>> 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
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
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
>
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
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
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
>
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
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
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
[
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
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
>
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
> ---
>
>
[
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
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
> ---
>
>
[
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
stem(...);
} else {
return NativeFileSystemFactory.INSTANCE.createFileSystem(session);
}
}
};
SshServer server = SshServer.setupDefaultServer();
server.setFileSystemFactory(fsFactory);
server.start();
{code}
> SCP commands redirect to SFTP su
[
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
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
18 matches
Mail list logo