Skip to content

Instantly share code, notes, and snippets.

@troyxmccall
Last active January 29, 2019 15:11
Show Gist options
  • Save troyxmccall/6b6f9aa5a9d283970e2c to your computer and use it in GitHub Desktop.
Save troyxmccall/6b6f9aa5a9d283970e2c to your computer and use it in GitHub Desktop.
test client bugs CVE-2016-0777 and CVE-2016-0778
#BAD
$ ssh -v -T git@github.com 2>&1 | grep -E "version|Roaming"
debug1: Local version string SSH-2.0-OpenSSH_7.1
debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
debug1: Roaming not allowed by server # <- PROBLEM HERE
#PATCHED
$ ssh -v -T git@github.com 2>&1 | grep -E "version|Roaming"
debug1: Local version string SSH-2.0-OpenSSH_7.1
debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
#this assuming you have homebrew installed and configured # see: http://brew.sh
brew install homebrew/dupes/openssh
brew link openssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment