Imagine the following situation: you have to compile some Linux/Unix application or kernel module that requires kernel source present at your hard drive, say, in /usr/src/kernels/kernel-2.6.21-i386/ or elsewhere. But there is not enough disk space to copy these sources or install kernel-devel or linux-source packages (in Fedora/RedHat or Ubuntu/Debian distros respectively)… Sounds familiar? Believe me, sometimes it happens

As a solution you can mount the directory of some remote PC that contains needed kernel source. It can be done via several protocols like smb, ftp etc. In this article we will mount remote directory using ssh protocol that is one the most popular for remote and secure access to Linux boxes over the network.

Below are the steps which should be taken to get the ball rolling. We need two packages: sshfs and fuse-utils.

27 Comments

Throughout this grand design of things you receive a B- for effort and hard work. Where exactly you confused me personally was first on your facts. As people say, details make or break the argument.. And that couldn't be more correct here. Having said that, allow me say to you precisely what did do the job. Your authoring is definitely pretty powerful and this is probably the reason why I am making the effort in order to opine. I do not make it a regular habit of doing that. Second, whilst I can certainly see a jumps in reasoning you make, I am not necessarily convinced of just how you seem to unite the details that help to make the final result. For right now I shall subscribe to your point but hope in the future you actually connect the facts much better.

Artem is systems engineer for more than 7 years and holds broad experience in Linux, Unix, Cisco systems administration. Feel free to get in touch with Artem Nosulchik via Google Plus, Twitter or Facebook.

Most Read This Week

LinuxScrew Recommends

Who’s behind LinuxScew?

My name is Artem Nosulchik, I'm part time blogger and full-time Linux sysadmin. In 2007 I started LinuxScrew to share my personal notes on anything related to Linux and Open Source on the whole and found this pretty interesting.