Skip to content

Instantly share code, notes, and snippets.

@roommen
Last active October 6, 2022 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.1p1.tar.gz
tar zxvf openssh-9.1p1.tar.gz
cd openssh-9.1p1 && ./configure && make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment