On Tue, Jun 23, 2009 at 6:45 PM, noxlady<
nox...@gmail.com> wrote:
> (That's why I'm pursuing this option as opposed to
> sftp. If I'm totally off track, please clue me in!)
Nope, you're on the right track! :)
> I've got a public/private key pair installed on my 2 macs. I've got
> the router all happy with port forwarding. I've got Mac Fuse installed
> and I am able to use either sshfs or MacFusion to get my home folder
> on the eMac to mount on my MacBook.
Good, that's the hard part.
>
> However, my media is not stored in my home folder. It's on an external
> hard drive connected to that computer. So how do I get my external
> drives to appear???
>
There are two options:
1. Change the sshfs mount address to have the full path, or
2. Create symlinks in your homedir.
For solution 1, you could simply change from:
ssh://yourlogin@yourmachine:
to:
ssh://yourlogin@yourmachine:/Volumes
and you will see all of the external drives attached to the eMac. You
can also change the path to /Volumes/DiskName if you only wanted to
show the disk named "DiskName." You can find the path for sure using
Terminal, just cd to /Volumes/DiskName, run "pwd", and copy the output
exactly from there.
For solution 2, you would open the terminal to your homedir (~) and
create a symbolic link (symlink) to the external drive within your
home directory. It would look like a subdirectory, but it actually
goes to the disk. To do that, type "ln -s /Volumes/DiskName DiskName".
A symlink is sort of like an alias in Finder, except it is understood
better by Unix-y tools like ssh. It's actually a pretty deep topic,
but these steps should work.
Good luck!
David