admin's blog

Passwordless SSH login with multiple identities available

Recently I started creating passwordless SSH logins to servers I need to access, so I can automate tasks. I tend to create a new key pair for each server. Today it didn’t work and it took me several hours to find the solution. So this writeup is to help others (and my future self no doubt).

Create a key pair for the new server and add the public key to the authorized_keys file of the user on the remote server. How this works is written all over the internet so I’ll merely sum it up here. In the example I’m creating one for my local Mac Mini.

Site moved

With the New Year approaching fast it was time to move this site to a different location. It's the first time I did this. Looks like it works.

Happy New Year to everyone.

Applescript to manually sync iphone to iTunes - 1st attempt

Setting the sync preferences in iTunes to automatic means that my iPhone is always synced whenever I drop it in its dock. However, this also means that iTunes pops up and sometimes becomes the front-most application. No problem if I'm doing nothing much but every now it distracts to the point of losing my motivation.

So I decided to switch this preference off. But then I need to remember that I have to sync manually. Which I forget. Not much gained.

Pages

Subscribe to RSS - admin's blog