How to Set Up a Password-less SSH Login

May 25, 2012 - 29 Comments

Set up password-less SSH logins

Setting up passwordless SSH logins is a great way to speed up connections to regularly accessed remote Macs and unix boxes. Because not all versions of Mac OS X include the ssh-copy-id command, you may have to use cat or scp to copy over your ssh key. This is how to set everything up, it only takes a minute or so.

First, on the local machine you will want to generate a secure SSH key:

ssh-keygen

Walk through the key generator and set a password, the key file by default goes into ~/.ssh/id_rsa

Next, you need to copy the generated key to the remote server you want to setup passwordless logins with, this is easily done with the following command string but you can use ssh-copy-id or scp if you’d prefer:

cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys'

(Remember to replace “user@remotehost” with the appropriate username and remote IP address or domain of the server)

This command takes the generated SSH key from the local machine, connects to the remote host via SSH, and then uses cat to append the key file to the remote users authorized key list. Because this connects with SSH to the remote machine you will need to enter the regular ssh login password to use this command.

Finally, confirm that you can now login to the remote SSH server without a password:

ssh user@remotehost.com

Assuming initial setup went as intended, you will connect to the remote machine without having to log in. You can shorten the connection steps even further by creating an alias in bash_profile so that you are only required to type a short command to immediately connect to the specified remote server.

There are some obvious potential security risks with using ssh without a password, the best way to mitigate that is to lock down the client machine with lock screens for screen savers and sleep, using a lock screen keyboard shortcut when you leave a workstation unattended, and setting appropriate login passwords, and enable FileVault disk encryption, all of which you should be utilizing anyway. You can even go a step further and enable a firmware password.

By William Pearson - Command Line, Mac OS, Tips & Tricks - 29 Comments

How to Jailbreak iPhone, iPad, or iPod touch on iOS 5.1.1 with Absinthe 2.0

May 25, 2012 - 47 Comments

How to Jailbreak iOS 5.1.1 with Absinthe 2.0

The newly released Absinthe 2.0 jailbreak app may be one of the easiest to use jailbreaking tools of all time. If you’re interested in exploring the jailbreak world or running third party tweaks on an iPhone, iPad, or iPod touch, here is how to jailbreak any such device that is running iOS 5.1.1, yes that includes the new iPad 3 and iPhone 4S.

If you are already jailbroken on iOS 5.1.1 but stuck with a tether, just launch Cydia and search for “Rocky Racoon” to untether your existing device. You do not need to run Absinthe. For everyone else, here is how to jailbreak iOS 5.1.1 untethered:

  1. Connect your iOS device to the computer via USB and do a quick manual local backup by right-clicking on the device name in iTunes and choosing “Back Up”. You will need this in the odd event something goes wrong.
  2. Download Absinthe 2.0 and launch the Absinthe utility
  3. Click on the Jailbreak button and let Absinthe perform its magic, this may take a minute or two
  4. Absinthe will inform you when the jailbreak is finished, when done look for the Cydia icon on the iOS home screen
  5. Launch Cydia and enjoy

That’s about it. Because Absinthe 2 is untethered, you are free to reboot at any time without being attached to a computer. If you want to undo the jailbreak at any point you can restore from the iTunes backup you made and be back to normal.

By Matt Chan - iPad, iPhone - 47 Comments

Absinthe 2.0 Jailbreak for iOS 5.1.1 Released [Download Links]

May 25, 2012 - 57 Comments

Absinthe 2.0

The much anticipated Absinthe 2.0 jailbreak has been released by the JailbreakDreamTeam. The utility allows for an untethered jailbreak of iOS 5.1.1 on virtually all idevices, including iPad, iPad 2, iPad 3, iPhone 3GS, iPhone 4, iPhone 4S, and iPod touch 3rd and 4th gen.

Read more »

By Matt Chan - iPad, iPhone - 57 Comments

9 Rumors About iPhone 5 That Are Most Likely To Be True

May 24, 2012 - 33 Comments

The next iPhone (5?) mockup with a bigger display

iPhone rumor season is in full bloom and there’s a lot of crazy speculation going on out there. We’ve weeded through all the iPhone 5 rumors and picked nine that are most likely to be true, though it’s important to remember that until Apple officially announces something it’s all speculation:

  1. 4″ Display – A larger screened iPhone has been rumored for a long time, but now Reuters, WSJ, and Bloomberg have all piled in with reports that appear to confirm the 4″ display is a reality.
  2. Redesigned Case – To accommodate a larger screen the iPhone enclosure is bound to get a redesign. Nobody knows what it will look like or if it will be made of glass, aluminum, liquid metal, or a combination of all three, but with longstanding rumors that Steve Jobs worked on the design before he passed away, you can rest assured it will be beautiful.
  3. 4G LTE – True mobile broadband is bound for the iPhone according to a handful of rumors, and with the 3rd gen iPad receiving the 4G treatment it’s a pretty safe bet the iPhone will follow suit.
  4. 10 Megapixel Camera – The smartphone is killing the point-and-shoot camera market, and the next iPhone is probably going to include a camera so good that it will drive a final nail into the consumer digital camera coffin. Why 10MP? The iPhone 4S has an 8MP camera, so it’s a logical step.
  5. A5X CPU & Quad Core Graphics – It’s very likely Apple will borrow the iPad 3 A5X CPU with it’s quad-core GPU and jam all of its power right into the next iPhone. Apple regularly shares core hardware components between iOS devices, so this isn’t particularly outlandish.
  6. 1GB RAM – If they borrow the A5X from the iPad 3, it’s very likely the next iPhone will have 1GB of RAM like the iPad too. Apple generally finds specs meaningless, but geeks love this stuff, and 1GB of RAM means faster apps, improved multitasking, and an all-around boost.
  7. iOS 6 – Not much is known about iOS 6, but everyone is expecting a big preview at WWDC in just a few weeks. Rumored features include all new Maps app with advanced abilities like turn-by-turn directions, further iCloud integration, third party widgets for Notification Center, third party Siri support, and much more.
  8. “The new iPhone” – Taking another page from the book of iPad, the next iPhone probably won’t be called iPhone 5 at all, it’ll be named simply “The new iPhone”. People will still call it the wrong name anyway though.
  9. September or October Release Date – The release timeline for new iPhones appears to have shifted from earlier in the year to fall, assuming the next iPhone is released on the same schedule as iPhone 4S was that is. Expect a launch and release sometime in September or October of this year.

Those are looking like the most likely features and specs of the next iPhone, but there are also a few other vague possibilities. There is really nothing to support these rumors except analyst claims or web conjecture, so we’ll file these safely under “wishful thinking” while we all cross our fingers hoping they end up true.

  • 32GB Base Model – My iPhone fills up much faster than my iPad, it stores tons of photos and tons of music, and frankly 16GB is just too small to be standard anymore. 32GB, 64GB, and 128GB storage options would be fantastic.
  • Magsafe Dock Connector – MagSafe power adapters are one of the greatest little Apple inventions, it would be a huge improvement to bring to the iPhone and iOS lineup, so let’s hope it happens
  • T-Mobile – Plenty of T-Mobile customers are using unlocked devices on their network anyway, so hopefully Apple and TMO USA can finally work out a deal to bring the iPhone to their network.
  • China Mobile – The largest cellular carrier in the world with 655 million subscribers, China Mobile has a paying customer base that is two times the entire population of the USA. If Apple wants to continue it’s explosive growth in China, landing a deal with CHL is vital, and this could be the year, and the device, to finally do it.

What do you think the next iPhone will have? What should it have? Let us know your thoughts and speculate away.

By Matt Chan - iPhone, Rumor - 33 Comments

Check Hard Drive Health of a Mac with Disk Utility

May 24, 2012 - 27 Comments

Check Hard Drive Health on a Mac & Repair Errors It’s a good idea to check the hard drive health of a Mac as part of a periodic maintenance routine. Doing this is extremely easy with Disk Utility, and we’ll cover exactly how to verify hard disks, how to repair them, and what to do if you encounter any issues or errors in the process. This works for all hard drives, whether it’s an internal drive, an external drive, or a boot disk, though the process is slightly different for boot drives. Let’s begin.
Read more »

What Happens When Two Mac Fans Get Married?

May 24, 2012 - 27 Comments

Mac Wedding picture

What do you get when you combine two Apple fans on wedding day? A wedding picture featuring husband and wife using their MacBook Pro’s, of course.

We typically post interesting Mac setups on Saturdays, but Gabor P sent in this cute picture of he and his wife using their Macs on that special day, and we had to put it up.

For those wondering, the Macs are:

  • Wife: MacBook Pro 13″ Mid 2010 , 2.66GHz Core 2 Duo , 4GB RAM , 320GB HDD
  • Husband: MacBook Pro 13″ Early 2011 , 2.3GHz i5 , 8GB RAM, 256GB SSD, 750GB HDD

Congratulations to you both!

By Paul Horowitz - Fun, Mac Setups - 27 Comments

Use Airplane Mode with Wi-Fi & Bluetooth Enabled on an iPhone or iPad

May 24, 2012 - 6 Comments

Airplane mode with Wi-Fi turned on

If you want to use an iPhone or iPad during a plane flight, you’re supposed to turn Airplane mode on to disable the built-in wireless communication aspects of the device. Airplane mode disables cellular and 3G/4g connectivity, GPS, wi-fi, and Bluetooth capabilities, but how are you supposed to use inflight wi-fi service if everything is turned off? The solution is to enable Airplane mode as usual, but then manually turn on Wi-Fi or Bluetooth separately on the iOS device:

  • Launch Settings and flip “Airplane Mode” to “ON”
  • Tap on “Wi-Fi” and flip the switch to “ON”, join the wireless network as usual
  • For Bluetooth use, within Settings tap on “General” and then tap “Bluetooth” to enable separately

Either choice will not reenable the cellular modem or connection, typically keeping you within the realm of acceptable behavior for most flights. You’ll probably want to check with the specific airline before doing this, but chances are if they offer inflight wireless service then it’s acceptable behavior.

Outside of flying, using Airplane mode but turning on wi-fi is an easy way to temporarily turn an iPhone into an iPod touch, letting you use wifi networks but avoid any potentially expensive voice or data roaming charges.

By Paul Horowitz - iPad, iPhone, Tips & Tricks - 6 Comments

New iPhone 4S Commercials Feature Siri & John Malkovich

May 23, 2012 - 7 Comments

iPhone 4S commercials with John Malkovich

Apple has started to air two new iPhone 4S commercials, this time featuring actor John Malkovich speaking with Siri. The first ad, shown below, is titled “Life” and features Siri getting philosophical in response to a simple inquiry about life, replying with:

“Try and be nice to people. Avoid eating fat. Read a good book every now and then. Get some walking in. And try to live together in peace and harmony with people of all creeds and nations.”

The second commercial, also embedded below, is titled “Joke” and features a more typical Siri interaction, covering weather, appointments, restaurant searches, and a bad joke about two iPhones walking into a bar.

Both commercials are roughly in the same theme as the other recent celebrity spots featuring Samuel L Jackson and Zooey Deschanel, but have otherwise veered away from Apple’s more traditional commercials.

By Matt Chan - Fun, iPhone, News - 7 Comments

Instantly See All Keyboard Shortcuts for Mac Apps with CheatSheet

May 23, 2012 - 33 Comments

CheatSheet views all keyboard shortcuts for Mac applications

There are so many keyboard shortcuts throughout Mac OS X and it’s myriad of third party apps that it’s easy to forget them or get lost trying to memorize the sea of keystrokes for each app.

This is where CheatSheet will make your life easier, it’s a tiny free application that sits in the background waiting to be summoned from any Mac app to instantly show all keyboard shortcuts for that application.

Read more »

By Paul Horowitz - Mac OS, Tips & Tricks - 33 Comments

Figure Out Which Direction You Are Facing With iPhone & Maps

May 23, 2012 - 4 Comments

Find which way you are facing using an iPhone and Maps

The iPhone has the Compass app to help show you which direction you are facing, but if you’re in an area with cellular reception a much more practical and useful approach is to use the Maps app. This lets you see which direction you are facing on a map of the area, so you can quickly see landmarks or whatever else you are looking for.

This will work on any iPhone, iPad, or iPod touch with internet connectivity, though it’s likely most useful in the 3G/4G enabled models for obvious reasons.

  • Launch Maps app and tap the Arrow icon to locate where you are
  • When Maps has centered on your location, tap the Arrow icon again

The arrow icon will switch to show what looks like a flashlight beam coming out of the point, this orientates the Maps app based on which way you are facing. Use this feature to either quickly find North, South, East, and West, or if you’re in the middle of the nowhere you can use it to find your way to the nearest road or familiar landmark that you find on Google Maps.

Use Maps app as a compass to find which direction you are facing from an iPhone or iPad

The primary weakness with this method is that iOS and Google Maps does not store or cache maps data locally on the device. This means if you’re out of cell range and you use the compass feature of Maps, you’ll just have a direction pointed out on a blank grid, unable to find any meaningful landmarks or points on the Map. This prevents an iOS device from serving as a true GPS replacement for serious outdoor uses, but if you’re in a bind it can be better than nothing.

This feature will not work if location services is disabled, a feature some people turn off because it can reduce the life of a battery charge on some iOS devices.

By Paul Horowitz - iPad, iPhone, Tips & Tricks - 4 Comments

How to Create a Disk Image of an Entire Mac Hard Drive

May 23, 2012 - 10 Comments

Make a disk image backup of a Mac hard drive

You can create an image of a Mac hard drive with the help of a free third party utility called Carbon Copy Cloner. The resulting disk image will be saved as the familiar .dmg format, which has a number of potential uses ranging from creating a drive clone for backup purposes, restoring the image elsewhere as a bootable backup, or even for deploying the same Mac OS X installation on multiple machines. Another great usage for making a disk image of an entire hard drive is for upgrading a hard drive, or replacing a hard drive, since you can clone the current drive to the new one.

Carbon Copy Cloner makes this entire process simple, whatever the reason you need to clone a drive, for both creating and restoring a disk image of an entire Mac hard disk. This tutorial will detail how you can create a disk image of an entire hard drive on a Mac, and then how to restore that cloned disk image to a drive on the Mac as well.

Read more »

By William Pearson - Mac OS, Tips & Tricks - 10 Comments

Bring Color Icons Back to the Mac OS X Finder Easily with SideEffects

May 22, 2012 - 25 Comments

Color Sidebar icons made easy with SideEffects

If you want color icons back in your OS X Finder window sidebar but don’t want to deal with the existing procedures of manually installing SIMBL and the other components, grab SideEffects instead. SideEffects is a simple package that includes the three necessary components to add color back to Finder sidebar icons; SIMBL, ColorfulSidebar, and RelaunchFinder, all wrapped into a single easy to use installer to shorten the process considerably. Gone will be the drab grayscale icons, welcome back the color.

SideEffects works with OS X 10.7.4 or later including Mountain Lion (supposedly).

For those wondering what is being installed and where it’s going, the files added by SideEffects are as follows:

SIMBL
/Library/ScriptingAdditions

ColorfulSidebar
/Library/Application Support/SIMBL/Plugins

RelaunchFinder
/Applications/RelaunchFinder.app

Also note that RelaunchFinder.app is also added to the active users login items so that the color icons take effect on each reboot or login.

Thanks to Simon for the tip, similar icon colorization is available for iTunes too.

By Paul Horowitz - Customize, Mac OS, Tips & Tricks - 25 Comments

Install wget in Mac OS X Without Homebrew or MacPorts

May 22, 2012 - 89 Comments

Install wget in Mac OS X

Want to have wget on Mac without Homebrew or MacPorts for whatever reason? You can do that by building wget from source at the command line.

The command line tool wget lets you retrieve a group of files from FTP and HTTP protocols, it’s a very useful utility for web developers and powerusers to have around because it lets you do things like perform quick and dirty site backups and even mirror websites locally.

Read more »

By William Pearson - Command Line, Mac OS, Tips & Tricks - 89 Comments

Turn a Python, Perl, Ruby, or Shell Script Into a Self Contained Application for Mac OS X

May 22, 2012 - 3 Comments

Script turned into a self contained Mac OS X app

Platypus is an excellent utility that lets you turn virtually any script into a self-contained Mac OS X application. Free and remarkably simple to use, Platypus will support just about any shell script, Perl, Python, PHP, Ruby, Tcl, AppleScript, Expect, and even other scripting languages.

Read more »

By William Pearson - Command Line, Mac OS, Tips & Tricks - 3 Comments

Quickly Minimize Windows in Mac OS X with a Keyboard Shortcut or Double-Click

May 21, 2012 - 19 Comments

Faster methods to minimize windows in Mac OS X

Virtually everyone knows you can click the yellow pill button in the upper left corner of a window to minimize a window in Mac OS X, but there are actually a few other ways minimize windows faster than that. The first is my preferred method which is a quick keystroke, and the other lets you double-click anywhere to send a window hiding.

The Minimize Window Keyboard Shortcut: Command+M

By far the fastest way to minimize windows is the Command+M keystroke, which works anywhere with the currently active window. You can modify it by adding an Option+H as well to minimize and hide everything including the currently active window with Command+Option+H+M

Double-Clicking Title Bars to Minimize Windows in OS X

Longtime Mac users should be familiar with this feature which lets you double-click anywhere in the titlebar to minimize a window. To do this in OS X, you’ll have to enable the feature in preferences:

  • Open System Preferences and click on “General”
  • Look under the scroll bar section and check the box next to “Double-click a window’s title bar to minimize”

Double Click a Window Title Bar to Minimize it in Mac OS X

This feature has been around in various forms since the early days of Mac OS 7, 8, and 9, long before OS X came along.

By Paul Horowitz - Mac OS, Tips & Tricks - 19 Comments

Not Enough Storage for iCloud Backup from iOS? Here Are 2 Solutions

May 21, 2012 - 17 Comments

Not Enough Storage message from iCloud backup

Running out of iCloud backup capacity happens quick whether you have a single iPhone or a handful of iOS devices. You’ll know this has happened because you get a friendly popup informing you of “Not Enough Storage” and that the automatic backup can not occur as a result. So what to do? There’s really two choices, one is the most obvious and involves upgrading the iCloud account, and the other is free and relies on you more actively managing your backups.

Read more »

Consultant’s Canary is the Ultimate Troubleshooting Aid for Mac OS X

May 21, 2012 - 5 Comments

Consultants Canary for Mac OS X

Troubleshooting computer problems is never particularly fun, and with so many potential third party add-ons, plugins, extensions, scripts, and whatever else is buried into OS X, how are you supposed to find everything to help determine what’s causing an issue? You need Consultant’s Canary, because whether you’re troubleshooting your own Mac or someone else’s, it’s going to save you tons of time and hassle.

Consultant’s Canary is a free self-contained python script that lists an absurd amount of information about the OS X installation that it’s launched from, including general system information, all login items, overly privileged processes, and a whole slew of third party system changes and augmentations, including address book plugins, Automator actions, additional frameworks, Safari plugins and extensions, kernel extensions, launchd jobs and launch agents, Mail plugins, third party System Preference panels, screen savers, Spotlight add ons, startup items, and more. Got all that? In other words, virtually every third party add-on that is currently installed on the Mac will be found and reported back in an easy to follow list that even includes the full file paths to the found items. Nothing is modified however, leaving the task of determining what doesn’t belong in the lists up to you.

Using Consultant’s Canary is easy, you can run the standalone Consultant’s Canary app directly on a single Mac which launches Terminal and a python script on it’s own, or you could open the apps package to find the heart of the app “dispatcher.py” which could then be used over a network to remotely diagnose and troubleshoot multiple Macs. The same version of Consultant’s Canary will work on any version of OS X later than 10.5, including Lion.

CC may just be the ultimate troubleshooting aid for Mac OS X, a remarkable feet for a free utility, making it’s an absolute must-have addition to a Mac power users toolkit.

Thanks to Jean N for the great tip

How to Set Manual DHCP and Static IP Address on iPad or iPhone

May 19, 2012 - 19 Comments

iphones

Certain Wi-Fi networks require clients to use static IP addresses or manual DHCP information in order for a device to connect properly to that network. Adjusting the iPhone, iPad, or iPod touch to use a static IP address or manual DHCP settings is easy in iOS, here’s how you can do it with any version of iOS software.

Read more »

By William Pearson - iPad, iPhone, Tips & Tricks - 19 Comments

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site