I would prefer to do this through the command line rather than downloading Macports. Any help appreciated.

  • 2
    Why do you need to upgrade ssh? – lhf Aug 8 '12 at 20:23
  • 1
    Also note that once you download the installer package GUI program for Mac Ports you would then install openssh using the port command from the Terminal. Although you don't have to use the GUI installer to get macports see macports.org/install.php – MrDaniel Aug 8 '12 at 21:13

Note that ssh on OS X is part of the default OpenSSH suite included with OS X. So to upgrade ssh you should upgrade the entire OpenSSH suite of programs to get a newer version of the ssh program.

Check out the OpenSSH Portable version

  1. Download load the version you want.

    The portable OpenSSH follows development of the official version, but releases are not synchronized. Portable releases are marked with a 'p' (e.g. 4.0p1). The official OpenBSD source will never use the 'p' suffix, but will instead increment the version number when they hit 'stable spots' in their development.

  2. Read the Installation instructions carefully, before installing.

As noted there:

The OpenSSH provided here is designed to run on the following Unix operating systems:







SNI/Reliant Unix


Digital Unix/Tru64/OSF

Mac OS X


... and more are being added all the time.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .