Setup Scripts

Create Sudo User

Tested on Ubuntu 18.04

This script condenses the few lines of bash needed for creating a new sudo user into a single command.

It prompts the current user for the new user's information.

Usage:

bash <(curl -sSL https://jrussell.sh/create-sudo-user)

Raw Script Contents

By |2021-01-05T08:37:40+00:00January 5th, 2021|Comments Off on Create Sudo User

Add SSH Key

Tested on Ubuntu 18.04

This script adds an SSH key to the server for the current user.

It prompts the current user for the public SSH key contents.

Usage:

bash <(curl -sSL https://jrussell.sh/add-ssh-key)

Raw Script Contents

By |2021-01-05T08:37:17+00:00January 5th, 2021|Comments Off on Add SSH Key

Setup Apt

Tested on Ubuntu 20.04

This script updates the apt cache, performs upgrades, and removes unneeded packages.

Usage:

bash <(curl -sSL https://jrussell.sh/setup-apt)

Raw Script Contents

By |2021-01-05T08:26:13+00:00December 29th, 2020|Comments Off on Setup Apt