Category Archives: Apple

OSX: Don’t ask always for ssh passphrase

Copy your private key to ~/.ssh/

chmod a-r id_rsa
chmod u+r id_rsa

Permissions should read:

.ssh directory: 700 (drwx------)
public key (.pub file): 644 (-rw-r--r--)
private key ( id_rsa ): 600 (-rw-------)

To save the passphrase in the keychain type:

ssh-add -K ~/.ssh/id_rsa

Enter your passphrase.

To tell the ssh agent to use your key from the keychain, create the file ~/.ssh/config and put this in it:

Host *
 UseKeychain yes
 AddKeysToAgent yes
 IdentityFile ~/.ssh/your_id_rsa
 IdentityFile ~/.ssh/your_id_rsa2 (if you have multiple)

Langsames dd mit Mac OSX

Kürzlich musste ich ein Image von einer SD-Karte erstellen und diese dann auf andere SD-Karten kopieren. Um dies zu bewerkstelligen, benutzte ich das Unix-Bordmittel “dd”.

Beim kopieren des Images auf eine leere SD-Karte ist mir aufgefallen, dass die Schreibgeschwindigkeit bei knapp 1MB/s lag, dies macht für die 8GB ca. 136min. Da dies viel zu langsam ist, habe ich mich mal mit dem Problem beschäftigt und mit der Blocksize von dd herumgespielt. Mit dem Parameter bs=4m (Linux: bs=4M) kann man die Default-Blocksize von 512kB auf 4MB setzen.

Continue reading Langsames dd mit Mac OSX

Multicast Routing of Apple’s Bonjour with FortiGate WiFi

A few weeks ago I replaced my good old DrayTek Vigor with a FortiGate WiFi. Because I have now two different Networks (one WiFi and the other Wired-LAN), the TimeMachine Backup does not work.

This has a simple background: TimeMachine uses Apple’s Bonjour protocol to find backup-volumes on the Network. Bonjour uses multicast, which is not routed between different Networks.
The solution is very simple, but you have to find it because it is not activated by default:

1. Go to “System” -> “Admin” -> “Settings” and activate the checkbox on “Multicast Policy“, then click “Apply” to save the changes.


Continue reading Multicast Routing of Apple’s Bonjour with FortiGate WiFi

MacBook SSD upgrade (15″ unibody mid. 2009 model)

A few days ago, I replaced my MacBook Pro’s Harddrive with a new Corsair SSD. I decided to buy a 240GB Force GS series SSD.
My MacBook Pro runs now very silent and fast, I recommend this update to everyone wo has an “older” MacBook and don’t want to buy a new one.


The SSD can work much faster, but my MacBook doesn’t support SATA3, so it negotiates a link speed of 1.5 Gigabit. But as you can see, the testresults are anyway much better:

Continue reading MacBook SSD upgrade (15″ unibody mid. 2009 model)