Skip to content

Instantly share code, notes, and snippets.

@paulmars
Created September 11, 2013 18:45
Show Gist options
  • Save paulmars/6528004 to your computer and use it in GitHub Desktop.
Save paulmars/6528004 to your computer and use it in GitHub Desktop.

Revisions

  1. paulmars created this gist Sep 11, 2013.
    14 changes: 14 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    # cribed from this post
    # http://onethingwell.org/post/27835796928/remote-ssh-bact-to-my-mac

    dns-sd -E # gets your member id for icloud

    # SSH command
    ssh -2 -6 [USERNAME]@[COMPUTER NAME].[account number].members.btmm.icloud.com

    # ~/.ssh/config
    Host mac-remote
    User username
    HostName computername.123456789.members.btmm.icloud.com
    AddressFamily inet6
    Protocol 2