From b3c028acef32c3dddd728abaa189c153cfebbfcd Mon Sep 17 00:00:00 2001 From: sudoer777 Date: Mon, 23 Oct 2023 15:06:02 -0500 Subject: [PATCH] Add ssh aliases --- ssh/config | 15 +++++++++++++++ zsh/.zshrc | 9 --------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 ssh/config diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..7917a8b --- /dev/null +++ b/ssh/config @@ -0,0 +1,15 @@ +Host * + AddKeysToAgent yes + +Host utdallas1 + Hostname cs1.utdallas.edu + User edr220000 + +Host utdallas2 + Hostname cs2.utdallas.edu + User edr220000 + +Host codepath + Hostname lab-8aabae24-60e9-483e-b626-dba43df50b93.eastus.cloudapp.azure.com + Port 5079 + User codepath diff --git a/zsh/.zshrc b/zsh/.zshrc index 54cc576..9fed63e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -119,15 +119,6 @@ source /usr/share/nvm/init-nvm.sh alias gcp-vpn='gcloud compute ssh --zone "us-central1-c" "vpn" --project "sudoer777"' alias fix-webcord='rm ~/.config/WebCord/windowState.json' -alias codepath='/home/sudoer777/qemu/build-asahi/qemu-system-x86_64 -smp 6 -device VGA,vgamem_mb=64 -m 2G \ --drive if=virtio,format=qcow2,file=/home/sudoer777/Documents/College\ 2023\ Spring/Codepath\ Cybersecurity/kali-linux-2023.1-qemu-amd64.qcow2 \ --device virtio-scsi-pci,id=scsi0 \ --device virtio-net-pci,netdev=net0 \ --netdev user,id=net0,hostfwd=tcp::5555-:22' -alias codepath-ssh='ssh kali@localhost -p 5555' -alias utdssh='ssh edr220000@cs1.utdallas.edu' -alias utdssh2='ssh edr220000@cs2.utdallas.edu' -alias codepathssh='ssh -p 5079 codepath@lab-8aabae24-60e9-483e-b626-dba43df50b93.eastus.cloudapp.azure.com' alias hotspot='sudo sysctl net.ipv4.ip_default_ttl=65' source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh