Ssh – Check OpenSSH version and update instructions on FreeBSD system

freebsdssh

On a FreeBSD system (8.1), I am looking for instructions on how to check the running version of OpenSSH and also instructions on the best way to download install an update of OpenSSH

Best Answer

Run sshd -V or ssh -V and they'll return the version and usage information.
Note: These are capital "V" now, when I originally wrote this answer they were lower case.

There's a dozen ways to upgrade.

  • pkg-add -r openssh-portable
  • cd /usr/ports/security/openssh && make install clean
  • portupgrade security/openssh-portable
  • part of the makeworld/buildworld process
  • freebsd-upgrade
  • and the list goes on...

I'm not aware of any issues with the 5.2p1 version that shipped with 8.1-RELEASE. I have seen hoax e-mails flying around for over a year now announcing the imminent release of a zero day hack (note that it's been a year and a half since release, so 'zero' day was a heck of a long time ago).

Related Topic