WARNING
SSH keyfile passwords are very insecure. They can be cracked in 30 minutes.
- The default OpenSSH key encryption is worse than plaintext
- How long would it take to crack your [SSH keyfile] password?
Never reuse your password
# Add this to your ~/.bashrc file | |
# Use .bashrc.d directory instead of bloated .bashrc file | |
# From: https://waxzce.medium.com/use-bashrc-d-directory-instead-of-bloated-bashrc-50204d5389ff | |
BASHRC_DIR="${HOME}/.bashrc.d" | |
# Optionally create directory if not exists | |
if [ ! -d "${BASHRC_DIR}" ]; then | |
mkdir -p "${BASHRC_DIR}"; | |
chmod 700 "${BASHRC_DIR}"; | |
fi | |
# Load any *.bashrc files in ~/.bashrc.d/ |
WARNING
SSH keyfile passwords are very insecure. They can be cracked in 30 minutes.
Never reuse your password
def before_all(context): | |
print('before_all activated') | |
def after_all(context): | |
print('after_all activated') | |
def before_feature(context, feature): | |
print('before_feature activated') |
docker run \ | |
-e "AWS_SESSION_TOKEN=${session_token}" \ | |
-e "AWS_ACCESS_KEY_ID=${access_key_id}" \ | |
-e "AWS_SECRET_ACCESS_KEY=${secret_access_key}" \ | |
-e "AWS_DEFAULT_REGION=us-east-1" \ | |
-v $PWD:/usr/src/app -w /usr/src/app \ | |
node:12 npm run cdk -- -v synth |
# Checkout | |
git pull | |
git ck -b region-forwarder | |
# Setup Directories | |
mkdir -p terraform/cwe | |
mkdir -p terraform/sqs_lambda |
I hereby claim:
To claim this, I am signing this object:
git symbolic-ref refs/remotes/origin/HEAD |
cat directories.txt | xargs -L 1 sh -c 'cd "$0" && pwd && git status' |
## help: display this help message | |
# Any line prefixed with two hashes will be output on `make help` | |
# The colon `:` is the alignment seperator | |
.PHONY : help | |
help : Makefile | |
@sed -n 's/^##//p' $< | column -t -s: |