Using scp between Linux and Mac OS X

For a while, I haven’t been able to get scp to work between Linux and Mac OS X. This only happened when I used the scp command on my Linux box, with Mac OS X acting as the ssh server. Here’s the symptom: On Linux: $ scp [email protected]:~/Documents/Some/File.txt /tmp/. Password: $ It disconnected me after […]

Reminder: Don’t Hard Code It

Today’s reminder comes from the “magic number” department, where we remind you to never hard-code a magic number in your software. For example, the value for ETIMEDOUT on Linux can vary depending on your C library. glibc, for example, defines it as 110, but uClibc defines it as 145. This tends to matter when you […]