You can do this with the scp command, which uses the ssh protocol to copy files across machines. It extends the syntax of cp to allow references to other systems:

scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file

Copy something from this machine to some other machine:

scp /path/to/local/file username@hostname:/path/to/remote/file

Copy something from another machine to this machine:

scp username@hostname:/path/to/remote/file /path/to/local/file

Copy with a port number specified:

scp -P 1234 username@hostname:/path/to/remote/file /path/to/local/file

Finding the my.cnf Which Is Actually Loaded

sudo dtruss mysqld 2>&1|grep my.cnf

/usr/local/mysql/data$ sudo dtruss mysqld 2>&1 | grep my.cnf

stat64("/etc/my.cnf\0", 0x7FFF5548E548, 0x7FFF5548F300)		 = -1 Err#2
stat64("/etc/mysql/my.cnf\0", 0x7FFF5548E5dtrace: error on enabled probe ID 2135 (ID 940: syscall::read_nocancel:return): invalid kernel access in action #12 at DIF offset 92
stat64("/usr/local/mysql/etc/my.cnf\0", 0x7FFF5548E548, 0x7FFF5548F300)		 = 0 0
open_nocancel("/usr/local/mysql/etc/my.cnf\0", 0x0, 0x1B6)		 = 3 0
stat64("/Users/jennifer/.my.cnf\0", 0x7FFF5548E548, 0x1000)		 = -1 Err#2

open_nocancel("/usr/local/mysql/etc/my.cnf\0", 0x0, 0x1B6) = 3 0
is the line to look for

composer on osx 10 Sierra

The "" file could not be downloaded: 
failed to open stream: Operation timed out
Retrying with degraded mode, 
check for more info

For some reason, ipv6 isn’t great for packagist.

Find your network adapter and turn off ipv6:

~$ networksetup -listallnetworkservices

An asterisk (*) denotes that a network service is disabled.


Bluetooth PAN

Thunderbolt Bridge

~$ networksetup -setv6off Wi-Fi