Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Inside SSH, Part 1
Subject:   ssh secure AFP connection with OSX 10.3.4 (not server version) How To
Date:   2004-07-13 05:57:08
From:   Felix-fi
Response to: ssh secure AFP connection with OSX 10.3.4 (not server version) How To

May be I was too optimist... I could not get it to work... despite the fact that I can ssh to the server and AFP is running on it.


It seems to hang at the authentification stage...


Why do not you start the tunnel on the remote host?

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • ssh secure AFP connection with OSX 10.3.4 (not server version) How To
    2004-09-10 21:30:17  Syzygies [View]

    O'Reilly's own book, "SSH, The Secure Shell: The Definitive Guide" is emphatic, one should use localhost if possible here. And no one should attempt a couple of lines of Unix voodoo before reading and understanding a chapter of such a reference.

    Of course, I thought I'd just try a line on the web like this, THEN read the chapter to understand what I'd did. I only made it to the chapter after nothing worked. What then worked in an instant was

    ssh -L2001:localhost:548 me@$REMOTEHOST

    Lesson here, no free lunch, we're the blind leading the blind here until we RTFM.
    • ssh secure AFP connection with OSX 10.3.4 (not server version) How To
      2004-10-21 00:12:55  richardwinkel [View]

      I'm sorry, I'm STILL having problems with this. I've run:
      ssh -L 548:localhost:548 -f -N remote_user@remote.afp.host.com

      then I try:
      mount_afp afp://remote_user@localhost/Homes /mnt
      (after I create the directory /mnt)

      I get:
      mount_afp: the mount flags are 0000 the altflags are 0020
      mount_afp: AFPMountURL returned error -5019, errno is 17

      and nothing is mounted.
      I also tried using the finder's "Connect to server" menu option and it insists I don't really
      want to afp connect to the localhost ...

      Thanks for any help!
      • ssh secure AFP connection with OSX 10.3.4 (not server version) How To
        2005-02-28 01:36:41  sirpete@iki.fi [View]

        I recommend using different port on localhost. Try ssh -L 10548:localhost:548 -f -N remote_user@remote.afp.host.com

        and

        mount_afp afp://remote_user@localhost:10548/Homes /mnt

        also use the port number if you connect from finder.

        Hope this helps.

        -Pete