Skip to Content.
Sympa Menu

unclug - [unclug] AFS via SSHFS @ UNC, was: installing OpenAFS on ubuntu 9.04 jaunty

unclug AT lists.ibiblio.org

Subject: UNC Linux Users Group

List archive

Chronological Thread  
  • From: Tom Roche <Tom_Roche AT unc.edu>
  • To: unclug AT lists.ibiblio.org
  • Subject: [unclug] AFS via SSHFS @ UNC, was: installing OpenAFS on ubuntu 9.04 jaunty
  • Date: Sat, 5 Sep 2009 16:06:33 -0400 (EDT)


(Apologies for any dups: I keep forgetting that one must post unclug
from a UNC address :-(

Gary Bishop Sat, Sep 5, 2009 at 3:38 PM
> I know it is irritating when you ask a *nix related question and get
> the answer "I don't do it that way"

NP--I useta code perl for a living :-) I was already looking @ how to
do this with GVFS/GIO, but

> Use SSHFS. I did and have loved it. Works great. Now I don't care
> about what file system is on the other end.

Is there a UNC howto for AFS via SSHFS? All I see is

http://wwwx.cs.unc.edu/~gb/wp/blog/2007/07/18/editing-remote-files-with-emacs-and-tramp/

which hints but does not howto. (Big ups for TRAMPing, though!)
Meanwhile I'll try adapting

https://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home
(heavily edited)
>> Install FUSE and sshfs

>> Under Ubuntu:

>> sudo apt-get install sshfs

>> AFS

>> The traditional way of mounting AFS is by using Kerberos and
>> OpenAFS, as detailed in the AFS article. However, this is a bit of a
>> pain.

>> Manually

>> To mount your home directory, first create a directory somewhere to
>> mount it to, for example the directory "rose-afs-home" in your home
>> directory:

>> mkdir ~/rose-afs-home

>> Then, use sshfs to mount the remote directory to that mount point.
>> sshfs <USERNAME>@addiator.rose-hulman.edu: ~/rose-afs-home

>> Where <USERNAME> is your Kerberos username.

>> Using /etc/fstab

>> Typing this command is a bit tedious. A much easier way to to add
>> an entry to your /etc/fstab.

>> sshfs#<USERNAME>@addiator.rose-hulman.edu: /home/<USERNAME>/rose-afs-home
>> fuse user,noauto 0 0

>> Now you can mount your AFS home directory by typing:

>> mount ~/rose-afs-home

>> At which point you'll be prompted for your password (or not if you
>> use public key login)

TIA, Tom Roche <Tom_Roche AT pobox.com>



  • [unclug] AFS via SSHFS @ UNC, was: installing OpenAFS on ubuntu 9.04 jaunty, Tom Roche, 09/05/2009

Archive powered by MHonArc 2.6.24.

Top of Page