Re: How much work for implementing sftp?

From: Matt Johnston (matt_at_real.email.in.sig.net.au)
Date: 08/02/04


Date: Mon, 02 Aug 2004 22:50:49 +0800

h.wulff wrote:
> Hello,
>
> this might be a strange question, but Iam collection informations for
> how much work do I have to expection to implement (just) sftp. I dont
> need port-forwarding and so on. For hashing and encryption I'll use a
> library (cryptlib).
>
> Unfortunately I cant use the session management of the cryptlib because
> I want to use the whole ssh2/sftp stuff in a kernel mode driver and
> connections to a remote machine is different in kernel mode.
>
> I already at loooked at http://www.ietf.org/internet-drafts/ but Iam
> unable guess how long it would take to implement ssh2/sftp.
>
> Has anyone already some experience? Or can guess how it would take? :)
> Maybe someone point me to some more informations on the internet...
>
> Thank you for your efforts!

I'd suggest running an existing ssh client in userspace, then just
communicating with that from kernel-space. You could even do most of the
sftp-client logic in userspace too. I assume you're doing a filesystem
or something?

-- 
Matt Johnston       matt at ucc
                     dot asn
                     dot au


Relevant Pages

  • Use crt on kernel mode drivers?
    ... Iam collection informations for a small project I want to do. ... Seven years ago there was already a kernel mode ... Is it true that kernel mode driver should only use kernel functions like ... the crt header files? ...
    (microsoft.public.win32.programmer.kernel)
  • How much work for implementing sftp?
    ... connections to a remote machine is different in kernel mode. ... unable guess how long it would take to implement ssh2/sftp. ... [dont send me an email] ...
    (comp.security.ssh)