Skip to content

Instantly share code, notes, and snippets.

@roommen
Last active August 3, 2024 06:45
Show Gist options
  • Save roommen/c54316ad81baf8cef1236c90b398761a to your computer and use it in GitHub Desktop.
Save roommen/c54316ad81baf8cef1236c90b398761a to your computer and use it in GitHub Desktop.
OpenSSH Update Script - Google Cloud Shell
#!/bin/bash
sudo apt-get install gcc -y
sudo apt-get install libssl-dev -y
sudo apt-get install zlib1g-dev -y
sudo apt-get install autoconf -y
wget https://mirror.freedif.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz
tar zxvf openssh-9.8p1.tar.gz
cd openssh-9.8p1 && ./configure && make && sudo make install
@roommen
Copy link
Author

roommen commented Aug 3, 2024

Script updated to address regreSSHion (CVE-2024-6387)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment