Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jdaviderb/43ded5e0d04b558fe2e6f91004ba978d to your computer and use it in GitHub Desktop.
Save jdaviderb/43ded5e0d04b558fe2e6f91004ba978d to your computer and use it in GitHub Desktop.
OpenSSH Update Script - Amazon Linux 2
#!/bin/bash
sudo yum install gcc -y
sudo yum install openssl-devel -y
sudo yum install zlib-devel -y
sudo yum install mlocate -y
sudo yum install autoconf -y
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.2p1.tar.gz
tar zxvf openssh-8.2p1.tar.gz
cd openssh-8.2p1 && ./configure && make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment