Operating Systems 2014F: Tutorial 9: Difference between revisions

From Soma-notes
No edit summary
No edit summary
Line 1: Line 1:
'''This tutorial is not yet finalized.'''
'''This tutorial is not yet finalized.'''
In this tutorial you will be learning about [http://www.openssh.org ssh (openssh)] and [http://fuse.sourceforge.net/sshfs.html sshfs], a network filesystem built on [http://fuse.sourceforge.net/ FUSE].


* apt-get install sshfs
* apt-get install sshfs

Revision as of 18:40, 28 November 2014

This tutorial is not yet finalized.

In this tutorial you will be learning about ssh (openssh) and sshfs, a network filesystem built on FUSE.

  • apt-get install sshfs
  • mount remote ssh directory locally
  • do file operations on directory
  • unmount, see it go away
  • apt-get install openssh-server
  • ssh to local box
  • sshfs to local box, do a "loopback" mount
  • dd a large file to local drive. Do same thing over sshfs. Which is faster?
  • hard link files locally, look at link counts
  • hard link files over sshfs, look at link counts
  • go into directory locally as root, look around. now do the same to mounted version. What do you see?
  • look at inodes in local and remote system. How do they compare?