Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to update to OpenSSH 5.9 from OpenSSH_5.6p1 on a MAC?

There are certain security holes that are apparently filled in OpenSSH 5.9. I tried downloading the openssh-5.9.tar.gz file from the openssh website, but i have no idea how to use the source code to update the version on my mac(10.7.3). Is this doable or is it something that apple will need to update when releasing the next version of lion?

  ssh -v
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
like image 257
ibolton336 Avatar asked Mar 09 '12 18:03

ibolton336


People also ask

Does macOS come with Openssh?

All Macs have a bundled SSH server that is disabled by default, but can be turned on at any time if you'd like to grant remote command line access to a machine. The SSH server in MacOS is turned on by using a sharing feature called Remote Login.

How do I enable SSH in Terminal Mac?

There are two other ways you can enable SSH for macOS devices: Turn on SSH in the GUI by going to System Preferences > Sharing > Remote Login. Leverage the Commands tab in the JumpCloud Directory Platform to enable SSH across your fleet.


1 Answers

install macports, a system for installing and upgrading software packages on OSX (http://www.macports.org). Then just "sudo port install openssh"

The ports openssh will be installed in /opt/local/bin.

like image 147
Samuel Devlin Avatar answered Oct 12 '22 09:10

Samuel Devlin