Skip to content

Instantly share code, notes, and snippets.

@beejhuff
Forked from paulmars/gist:6528004
Created February 7, 2018 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beejhuff/2873ea7e34097a9c4623c8169375e168 to your computer and use it in GitHub Desktop.
Save beejhuff/2873ea7e34097a9c4623c8169375e168 to your computer and use it in GitHub Desktop.
ssh back to my mac
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment