Created
December 14, 2022 14:10
-
-
Save Vaibhavs10/962335692a8b8587c81a39190954f8d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user_name= | |
ssh_key="" | |
cd /home | |
sudo useradd -m "$user_name" | |
sudo mkdir /home/"$user_name"/.ssh | |
echo "$ssh_key" | sudo tee -a /home/"$user_name"/.ssh/authorized_keys | |
sudo chsh -s /usr/bin/bash "$user_name" | |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | |
sudo apt-get install git-lfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment