Zeroconf networking is a good thing!
To get it working between Ubuntu and OS X (Apple calls it “Bonjour”):
- Directly connect the machines with a standard ethernet cable. No hub, no router, no DHCP.
- Don’t mess with the network settings at all (although you might disable wireless if you’re having problems).
- Talk to each machine using
hostname.local - Work away…
Now I can simply ssh paul@molly.local and it works as expected. Gigabit ethernet is quite a bit faster than low-signal wireless.
A useful tip for resuming SCP transfers: you can’t. You can, however, use rsync to do almost the same thing:
rsync --partial --progress user@remote:filetoget .
The path syntax is the same as SCP, so if you have an SCP transfer that failed, you can generally resume it with rsync. Don’t forget the -r flag to recursively copy if you’re moving directories.
The files I was trying to copy were recovered from another machine, and I couldn’t figure out how to mount the image file so that a normal user had appropriate permissions to access all of them. I ended up temporarily enabling root login for the machine hosting the files and using rsync root@remote.
Post a Comment