I’m trying to copy some Time Machine backups from one Time Capsule to another and permissions seem to be getting in my way. I’m hoping to circumvent this by using scp to copy files from one Time Capsule to another. Before I can do that, I need to get ssh access to each of the Time Capsules and I was having a heck of a time before I figured out a couple things.
Following these instructions (converted to English) and this thread helped, but the acp and airpyrt scripts would error out. This thread helped me learn that the airpyrt script cannot handle a number IP address, it must instead use the Time Capsule’s mDNS hostname AND for either acp or airpyrt the Time Capsule cannot have a password with special characters – I’ll report this back to Samuel in he or the other developers care to address it.
If you’re hoping to use airpyrt and your Time Capsule’s local IP address is “10.0.1.15” (adjust to your fit in command below) you can obtain its mDNS name through the following Terminal.app command:
dig -x 10.0.1.15 @224.0.0.251 -p 5353
(the output from this command will show a Time Capsule name that ends in .local)
In my case it was “Basement-Shop-AirPort-Time-Capsule.local” (I skipped the period after local).
After revising my Time Capsules passwords to omit special characters, I then used the following commands to install acp or airpyrt (take your choice although acp should be newer and can roll with number IP addresses). I’ll refine the commands below when I try again from a Mac that is not yet configured to make these connections.
First, I’m pretty sure we have to do this with Python 2, not 3, so use brew to install pyenv and enable it in Bash shell:
brew install pyenv
eval “$(pyenv init -)”
pyenv versions
pyenv global 2.7.18
python –version
pip install acp (might be able to skip this?)
npm install –global node-acp (might be able to skip this)
Or, if you prefer to use airpyrt, follow these instructions.
I followed some additional advice here:
https://www.reddit.com/r/jailbreak/comments/f01d2r/tutorial_how_to_jailbreak_an_apple_airport_device/
https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modems/apple-time-capsule-repair/change-country-on-airport-router
To do cute things like get a list of all MAC addresses connected to an AirPort, Josh has a ruby script. And Jörg is trying to mount the hard drive. Ray has all kinds of good stuff (link is likely broken, Ray disappeared?). Ray battles power supplies and temperature issues and changes country codes.
** Update 1-29-2024 **
To connect with OpenSSH_9.4p1 or newer, I had to use:
ssh -oHostKeyAlgorithms=+ssh-dss root@10.0.1.1
** Update 10-4-2024 **
To connect today, the above command worked until I disconnected and tried to reconnect. I don’t know why, but dropping the “+” symbol and using the following command helped to reconnect:
ssh -oHostKeyAlgorithms=ssh-dss root@10.0.1.1