macOS Sierra SSH “Permission Denied”

Saturday 2016-11-12

keychain-mac-tutoIf you used DSA keys to log in to your SSH server and have upgraded your client machine to macOS Sierra (or OSX Sierra if you like), you probably ran into this problem:

client$ ssh -p 8123 george@10.0.0.10 -i ~/.ssh/id_dsa 
Permission denied (publickey).

The answer to this problem is replacing the DSA key with an RSA key, but how do you do on the server when your only means for connecting is the OSX client machine you just upgraded? Here’s how:

Read the rest of this entry »

Advertisements

BaseCamp Import problem [fixed]

Friday 2013-05-03

route.gdb not foundOn Mac OSX, when installing Garmin BaseCamp 4.1.2 from the Appstore, there is a chance that importing downloaded routes in gdb or gpx files from your local machine will not work. The error you’ll get is “[filename].gdb not found”, in a popup much like the one shown here. If you open the console app, you’ll see the following error in the logfile:

sandboxd[28092]: ([27931]) Garmin BaseCamp(27931) deny file-read-data /Users/rolf/Desktop

This means that the OSX Sandbox mechanism does not allow Garmin BaseCamp to read files in that folder. I have briefly searched documentation on how to grant BaseCamp the rights to read files there, but I couldn’t find anything that would work. I did find a way to work around this problem though: Garmin BaseCamp does have rights to read your Garmin device. So here we go:

  1. Temporarily copy the files you want to import in Garmin BaseCamp onto your device (or in my case: the extra SD card in the device).
  2. Start Garmin BaseCamp, and select “File” -> “Import…”.
  3. Browse to the Garmin SD card and select the gdb file to import. Voila. That will get it into BaseCamp.
  4. Delete the gdb file from the Garmin. We don’t need it anymore, the Garmin was just a place where BaseCamp could read the file.

From here on, everything should work as normal. This is just a workaround. If anybody finds out how to really fix this problem let me know.


Fixing Photo Creation Dates

Monday 2011-08-15

Count down to your vacationYou know how it is on vacation. You take your camera, shoot pictures, and when you get home you see that you forgot to set the date/time on your camera. Even worse: your wife also took a camera with her, and she actually read the manual and set the time correctly. So now you have two sets of photos with mismatching date/times. Now what?

It turns out that there is actually a pretty simple trick to solve this, and you don’t even haven to install exiftool or do funny command line voodo. If you have iPhoto and a mouse, here’s what you do:

Read the rest of this entry »


Why some App Store apps won’t install

Sunday 2011-01-09

App Store IconI was happily playing around with the appstore, and came across this funny free game called “Hedgewars”. Originally a free Linux game, it apparently got ported to the Mac and put in the App Store, just as a slew of Flash-based games (yes, Steve has some ‘splainin’ to do).

I tried to install Hedgewars on my trusty Mac Mini and got this message saying “This Application can not be installed on this machine”:

Read the rest of this entry »


Move Time Machine data to a Drobo

Thursday 2010-12-30

Remember, even Drobo's can die. Make sure your files are in at least three different physical locations, one of which preferably off-site.If Santa treated you particularly well this season, or you have put some of your savings to good use, chances are that you have a brand-new Drobo looking at you right now. Meanwhile, your Mac is happily making Time Machine backups to that trusty old local USB disk. So you want to use that new Drobo for Time Machine backups, but don’t want to loose history? Here’s how (baby steps, no tools required, screenshots included):
Read the rest of this entry »


Starting Java app from Applescript

Thursday 2009-06-11

Suppose you have a Java Swing application which you can start by typing the following on the command line:

java -jar myTerrificSwingApp.jar

If you want to make that application start from the Finder in OSX, there are a lot of options which range from ugly to convoluted. If you need a quick fix, here’s how to do it.

Read the rest of this entry »


Migrate from Password Gorilla to KeePass

Tuesday 2009-05-12

KeePass logoI used to use Password Gorilla to store my passwords, because it can run on both Mac and Windows. Because my password database keeps growing, Password Gorilla is becomming a very slow starter, even on my new solid state disk. A few weeks ago I learned that KeePass is a much more modern application, and is available for both Mac and Windows. Here’s what I did to get all my passwords into KeePass:
Read the rest of this entry »