2018-04-17 16:24 GMT+02:00 <[email protected]>:

>
>
> Hello,
>
> I am taking a look at an open source project (kde connect) which is using
> sshd in version 0.8.0. Because of issues I try if some of the issues are
> resolved when I update sshd inside that project to 1.7.0.
>
> It seems that there have been quite some changes from 0.8 to 1.7 (no
> surprise so far). I am not an ssh nor a security expert, I just want to use
> that project and have a few issues with the migration.
>
> The following classes from 0.8.0 seem not to exist anymore in 1.7.0, I
> wonder if someone can give me some hints what to use instead:
>
> import org.apache.sshd.common.util.SecurityUtils
>

org.apache.sshd.common.util.security.SecurityUtils


> import org.apache.sshd.server.FileSystemView;
> import org.apache.sshd.server.SshFile;
> import org.apache.sshd.server.filesystem.NativeFileSystemView;
> import org.apache.sshd.server.filesystem.NativeSshFile;
>

Those files don't exist anymore.  SSHD is now using the
java.nio.file.FileSystem api


> import org.apache.sshd.server.kex.DHG1;
> import org.apache.sshd.server.kex.DHG14;
>

The classes do not exist anymore, but I suppose the code was using the
factories which are now available through org.apache.sshd.common.kex.
BuiltinDHFactories.dhg1


>
>
> Maybe a push into the right direction is already sufficient. If necessary
> I can post more details on what methods are being used and need to be
> adapted.
>

Well, let me know if you need more help, surely this is quite an update...


>
> Thanks!
>



-- 
------------------------
Guillaume Nodet

Reply via email to