+ SSH alias for AWS server

This commit is contained in:
Spirit 2023-12-25 15:30:08 +03:00 committed by GitHub
parent 10b6a91063
commit 6ed5c24c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,3 +57,6 @@ alias mem='free -m -l -t'
alias pmem='ps auxf | sort -nr -k 4'
alias pcpu='ps auxf | sort -nr -k 3'
alias speedtest='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/d456ed64c70fd0a1081410505daba3aef3e4fa61/speedtest.py | python3 -'
# SSH for AWS server
alias aws='sudo ssh -i /path/to/key-file.pem ec2-user@ec2-000-000-000-000.compute-1.amazonaws.com'