Skip to content

Instantly share code, notes, and snippets.

View undefinedzain's full-sized avatar

Akhmad Romadlon Zainur Rofiq undefinedzain

  • Lifepack
  • Jombang, Indonesia
View GitHub Profile
@undefinedzain
undefinedzain / Passphrase.sh
Created June 15, 2016 15:44
Remove the Passphrase
cp id_rsa id_rsa.org
openssl rsa -in id_rsa.org -out id_rsa
@undefinedzain
undefinedzain / ssh.sh
Last active May 17, 2017 23:23 — forked from SunDi3yansyah/ssh.md
Set Up Git & Generating an SSH key
git config --global user.name "Undefined Zain"
git config --global user.email "[email protected]"
ls -al ~/.ssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
@undefinedzain
undefinedzain / letsencrypt-nginx-centos.md
Created June 22, 2018 02:01 — forked from masasdani/letsencrypt-nginx-centos.md
letsencyript SSL nginx proxy centos 7

Install Letsencrypt Nginx Centos 7

install certbot

  sudo yum install epel-release
  sudo yum update
  sudo yum install certbot

install nginx

  sudo yum install nginx

sudo systemctl start nginx