Note that there are some explanatory texts on larger screens.

plurals
  1. POKernel module for SSH/SCP drive
    primarykey
    data
    text
    <p>Me and my colleague have a project, to make a driver which will provide access to a remote drive like it was a local drive (using SSH/SCP). The drive should be seen normally as a drive, and operations can be limited to simple file operations (copy, move, remove), without file listing etc. The driver should be a linux kernel module (maybe not entirely..).</p> <p>We managed to gather some informations and ideas, and maybe someone could verify them, or push us to a good direction?</p> <p>We thought about splitting it into 2 components:</p> <ul> <li>a kernel module implementing a virtual drive,</li> <li>a user-space daemon responsible for SSH/SCP communication,</li> </ul> <p>because we can't imagine implementing SSH communication in a kernel module (YES it probably is POSSIBLE, but..).</p> <p>For SSH/SCP communication we think we can use <a href="http://www.libssh.org" rel="nofollow">libssh</a>. About implementing virtual drives in kernel module we found a <a href="http://lwn.net/Articles/57369/" rel="nofollow">tutorial</a>.</p> <p>Another case is communication between kernel and user-space. We also found an <a href="http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.html" rel="nofollow">article</a> discussing this, with many possibilities like UDP sockets or NETLINK.</p> <p>With this solution, we could forget about any SSH/SCP related stuff in kernel module - it will be transparent to the kernel.</p> <p>Is our thinking good? Maybe there are some caveats we didn't forseen? Is this the right way, or maybe there is a better/simpler method (but still related to the linux kernel, because that's the main field of the project ;)) ? Which ideas we should use? Links much appreciated :)</p> <p><strong>EDIT</strong>: It's a project we have to do for an university class - so it's not the problem to find an already implemented solution, but to do your own..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload