From 6ed5c24c8319b400a43bbfa8b0aa97b530584495 Mon Sep 17 00:00:00 2001 From: Spirit Date: Mon, 25 Dec 2023 15:30:08 +0300 Subject: [PATCH] + `SSH` alias for AWS server --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 7aef66a..be55ed7 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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'