Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Setup Account

ZeroC0D3 Team edited this page Jan 20, 2018 · 1 revision

Setup Account

Setup Account for VPS (Virtual Private Server) Ubuntu version 16.04

Create Deploy User & Authorize

sudo adduser deploy            # password: d3pl0y_zeroc0d3 (default)
sudo usermod -aG sudo ubuntu
sudo usermod -aG sudo deploy

sudo visudo
-----
root      ALL=(ALL:ALL) ALL
ubuntu    ALL=(ALL:ALL) ALL
deploy    ALL=(ALL:ALL) ALL

Generate Public-Key (without password)

/usr/bin/ssh-keygen -t rsa -b 4096 -C "deploy@zeroc0d3lab.io" -f $HOME/.ssh/id_rsa -q -N "";

Generate pem file

/usr/bin/openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
Clone this wiki locally