Electricmonk

Ferry Boender

Programmer, DevOpper, Open Source enthusiast.

Blog

SecureSHell File system

Thursday, July 21st, 2005

Okay, I’m on a linking rampage here. Sorry. (I hate link-logs). But this is pretty cool, and I’ve been looking for it for a long time. Mounting a remote filesystem over SSH: shfs.

Shfs is a simple and easy to use Linux kernel module which allows you to mount remote filesystems using a plain shell (ssh) connection. When using shfs, you can access all remote files just like the local ones, only the access is governed through the transport security of ssh.

For example:

[root@jib]/# ssh todsah@electricmonk.nl
Linux sharky 2.6.8.1 #4 Fri Nov 5 09:48:16 CET 2004 i686 unknown
[todsah@sharky]~$ ls
id_rsa.pub
[todsah@sharky]~$ exit
[root@jib]/# mount -t shfs todsah@electricmonk.nl mnt/
[root@jib]/# ls mnt
id_rsa.pub

The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.