View gen-rsa-ssh-key.sh
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
# Generate new 4096 bit RSA SSH key: | |
# --- Only use when ed25519 isnt possible --- | |
ssh-keygen -o -a 100 -t rsa -b 4096 -f ~/.ssh/id_rsa -C "login@hostname.com" | |
# -o : Save the private-key using the new OpenSSH format rather than the PEM format | |
# -a: Increase resistance to brute-force password cracking if the private-key is stolen. | |
# -t: Type of key to create (rsa). | |
# -f: Filename of the generated key file. | |
# -C: Optional comment, often <login>@<hostname> or email. |
View gen-Ed25519-ssh-key.sh
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
# Generate new Ed25519 SSH key | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "login@hostname.com" | |
# -o : Save the private-key using the new OpenSSH format rather than the PEM format | |
# -a: Increase resistance to brute-force password cracking if the private-key is stolen. | |
# -t: Type of key to create (Ed25519). | |
# -f: Filename of the generated key file. | |
# -C: Optional comment, often <login>@<hostname> or email. |
View display-ssh-keys-info.sh
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
# Display info on existing SSH keys | |
for key in ~/.ssh/*.pub; do ssh-keygen -l -f "${key}"; done | uniq | |
# DSA = Unsafe and even no longer supported since OpenSSH version 7. | |
# RSA = Concerning, see length. 3072 or 4096-bit length is ok. | |
# ECDSA = Trustworthiness concern on the NIST curves. | |
# Ed25519 = Recommended public-key algorithm. |
View aws-cli-osx-deployment-cmds.txt
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
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" | |
sudo installer -pkg AWSCLIV2.pkg -target / | |
# confirm deployment | |
which aws | |
# returns: /usr/local/bin/aws | |
aws --version | |
# returns: aws-cli/2.2.14 Python/3.8.8 Darwin/20.5.0 exe/x86_64 prompt/off |
View basic.eslintignore
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
**/node_modules/** |
View basic.editorconfig
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
# EditorConfig is awesome: https://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Space indentation | |
[*] | |
indent_style = space | |
indent_size = 2 | |
trim_trailing_whitespace = true |
View basic.gitattributes
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
# Auto detect text files and perform LF normalization | |
* text=auto | |
# Files to remove from language stats for this project | |
# *.css linguist-vendored | |
# *.scss linguist-vendored | |
# *.html linguist-vendored | |
# *.js linguist-vendored | |
# *.php linguist-vendored | |
# *.py linguist-vendored |
View basic.gitignore
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
# Add any directories, files, or patterns you don't want to be tracked by version control | |
# Windows and OSX Specific System Files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
*.swp | |
ehthumbs.db |
View cloudlinux-php-selector-deployment-cmds.txt
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
yum groupinstall alt-php | |
yum update cagefs lvemanager |
View cloudlinux-cagefs-deployment-cmds.txt
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
yum install cagefs | |
/usr/sbin/cagefsctl --init |
NewerOlder